Setting the PATH in Windows

     

The PATH environment variable tells the system where to find the java, javac, jar, and other executables. This enables you to compile Java classes, run your programs, make .jar files, and so forth, from any directory on your computer.

  1. Navigate to Start > Control Panel > System.

  2. Choose the Advanced tab.

  3. Click Environment Variables .

  4. In the System Variables pane, double-click the PATH variable. Scroll to the end of the list of variables, and add the following text (for default installation of SDK 1.5.0):

 

 C:\j2sdk1.5.0\bin 



Java Garage
Java Garage
ISBN: 0321246233
EAN: 2147483647
Year: 2006
Pages: 228
Authors: Eben Hewitt

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net