Pages

Monday, May 20, 2013

Set path to run java code in windows xp command line

Type the following code in the console

set path=%path%;C:\j2sdk1.4.2_04\bin;.;

where C:\j2sdk1.4.2_04\bin - represents the javac directory and the ending dot represents the current directory where file is stored.

No comments: