java' is not recognized
807599Feb 2 2007 — edited Feb 2 2007Hello;
i run my code on Dos command, and it give me the following error massage, could anyone tell
me how to fix it. but I have not problem to run my code with the JCreator editor.
java' is not recognized
The following are all the works i have done in Dos.
E:\Java>java -version
'java' is not recognized as an internal or external command,
operable program or batch file.
E:\Java>echo %path%
C:\j2sdk1.4.2_10\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Commo
n Files\Adobe\AGL;C:\Program Files\Microsoft SQL Server\80\Tools\BINN
E:\Java>set path=%path%;c:\j2sdk1.4.2\bin
E:\Java>java -classpath=.;sqljdbc.jar MyTest.java
'java' is not recognized as an internal or external command,
operable program or batch file.
In the user variable, i set the a calss path for the j2sdk is
c:\j2sdk1.4.2\jre\javaws (without quote)
and for the java run time envirament is
c:\Program Files\Java\j2re1.4.2\javaws