Can't run the javac command
843804Jun 5 2003 — edited Jun 12 2003I've installed the j2sdk1.4.1_03 on my C root folder and i've created another directory called javaworks in C:\javaworks.I've done the necessary setup in the autoexec.bat file, it is as follows :
PATH C:\j2sdk1.4.1_03\bin;%PATH%
SET CLASSPATH=.;C:\j2sdk1.4.1_03\lib\tools.jar
I've saved a file called Hello.java in my C:\javaworks folder. I used notepad to create it and saved it with "Hello.java". Now, when i go to my C:\javaworks folder and type javac Hello.java I get this error
Bad Command Or File Name, Please help the hello.java file is in that folder, i've already set up the path and set classpath in autoexec.bat, i can run the java -version from my C:\javaworks but why can't i compile it using the javac method, is there anything that i'm missing out in here?, I'm a newbie and using win98SE
Help much appreciated