quick java question

NaturalChiller

Senior member
Jun 27, 2001
292
0
0
How can I make it so that i can use the 'javac' command in any directory (in a cmd window) instead of only in the /bin/ dir? Batch file? I'm using XP. TIA
 

manly

Lifer
Jan 25, 2000
13,086
3,850
136
Put the full path to the JDK bin directory in your PATH environment variable.
 

NaturalChiller

Senior member
Jun 27, 2001
292
0
0
This might sound ignorant, but how do I go about editing the PATH env. var. I don't really know what that is.
 

CSoup

Senior member
Jan 9, 2002
565
0
0
If you are on an nt/2k/xp system then right click on the my computer icon and chose properties. Then click advanced and then click the environment variables button. Look for the PATH variable and add the java/bin directory to it.