I am trying to use the jdk 2. I can succesfully compile source files but get the following error when I attempt to execute the class file. C:\java>java Jxam Exception in thread "main" java.lang.NoClassDefFoundError: Jxam I changed my autoexec file as follows: C:\>PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRAM FILES\MTS;C:\JDK1.3\BIN;"C:\Pr ogram Files\Mts";C:\JDK1.3\BIN Too many parameters Is this the problem? please help, thanks
Hi- If the Jxam file is the one I am thinking it is, which is Jxam.zip, thenyou need to use the following on the command prompt: java -jar Jxam.zip the java compiler will only look for .class files, if the files are combined in a jar or zip file format, you need to use this command. Kyle
C:\>PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRAM FILES\MTS;C:\JDK1.3\BIN;"C:\Pr ogram Files\Mts";C:\JDK1.3\BIN Too many parameters
You seem to have the MTS directory listed twice. The second reference is correct: the space in the path requires quotes be placed around the path. The first reference is incorrect, though. The command line interpreter thinks the space indicates a second parameter, which is invalid for the SET PATH command, and thus generates your error.