Path Setup

SET PATH IN WINDOW

  • Right click on my computer icon .
  • Select Properties
  • Choose "Advace system setting"
  • Click on "Enviroment variable " window is opened
  • In this window ,in user variables section must create path and classpath.Click New window the new window is opened.Then enter values as shown below
Variable name-=path
Variable value=C:\Program Files\Java\jdk1.7.0_25\bin


Finally click on "OK"
then path variable is added to the list .



Now create classpath variable 
Click on new button again and enter values as below 

Variable name=classpath
Variable value=   .;C:\Program Files\Java\jdk1.7.0_25\lib\tools.jar;C:\Program Files\Java\jre7\lib\rt.jar;


clickon "OK"

Setting Path for Linux,Unix

Enviroment  variable PATH should be set to point to where the Java binaries have been installed. Refer to your shell documentation if you have trouble doing this.
Example, if you use bash as your shell, then you would add the following line to the end of your '.bashrc: export PATH=/path/to/java:$PATH'

Popular Java Editor

To write your Java programs, you will need a text editor. There are even more sophisticated IDEs available in the market. But for now, you can consider one of the following:
  • Notepad: On Windows machine you can use any simple text editor like Notepad (Recommended for this tutorial), TextPad.
  • Netbeans: is a Java IDE that is open-source and free which can be downloaded from http://www.netbeans.org/index.html.
  • Eclipse: is also a Java IDE developed by the eclipse open-source community and can be downloaded from http://www.eclipse.org/

0 comments:

Post a Comment

Enter Here Your Ideas and Comment to improve this Blog

Popular Posts

Nilesh Jha. Powered by Blogger.

Contact Form

Name

Email *

Message *

Copyright © Nilesh Jha's Blog |
|