Click to See Complete Forum and Search --> : CLASSPATH=


mikemacarthur
September 30th, 1999, 09:08 PM
I have Teach Yourself Java 2 from SAMS, and it came with 1.2 SDK. The installation advice is to put a CLASSPATH= (the path to tools.jar)in autoexec.bat, but my Win98 keeps saying that it is invalid line and ignores it during bootup;indeed there is not CLASSPATH command anywhere in Windows documentation. I keep having erratic class not def or not found errors. I can't be the only one with this problem! What do I do?

poochi
September 30th, 1999, 11:20 PM
How do you set the classpath ?

like this ?

SET CLASSPATH=.....

I think you might be missing SET command.

Poochi...

ramix00
October 1st, 1999, 11:35 AM
You can try giving the following at the DOS Prompt.

set CLASSPATH=c:\.........\your.jar

DinoAdor
October 2nd, 1999, 11:33 PM
Follow these simple instructions:
1. edit autoexec.bat
2. at the very end add
SET CLASSPATH=.;C:\.........\TOOL.JAR
3. save and exit
4. type autoexec.bat on dos prompt

DONE