unable to locate java.lang
Hello,
Could anyone tell me why when runnig the batch file I get the following error:
unable to locate java.lang package
I have set up the envionment variables as follows:
CLASSPATH=c:\j2sdk1.4.2_14\lib
PATH=c:\j2sdk1.4.2_14\bin
I would highly appreciate any help. I would like to get this simulator up and running
and do some work over the easter holidays (nice uh?), it could always be worst! :)
contents of batch file
-
Set SNAP_PATH=C:\TaylecSim\classes\TaylecSim.jar
Set SRC=Mo
javac -bootclasspath %SNAP_PATH%\classes %SRC%.java
%SNAP_PATH%\bin\preverify -classpath %SNAP_PATH%\classes;. -nofinalize -d ReadyToGo %SRC%
pause
MS-DOS output
-
C:\Simulator\Installation\DevFiles>Set SNAP_PATH=C:\TaylecSim\classes\TaylecSim.
jar
C:\Simulator\Installation\DevFiles>Set SRC=Mo
C:\Simulator\Installation\DevFiles>javac -bootclasspath C:\TaylecSim\classes\Tay
lecSim.jar\classes Mo.java
Fatal Error: Unable to locate package java.lang in classpath or bootclasspath
C:\Simulator\Installation\DevFiles>C:\TaylecSim\classes\TaylecSim.jar\bin\prever
ify -classpath C:\TaylecSim\classes\TaylecSim.jar\classes;. -nofinalize -d Ready
ToGo Mo
The system cannot find the path specified.
C:\Simulator\Installation\DevFiles>pause
Press any key to continue . . .

