C
cntcltk
I just installed JCreator and I also downloaded jdk1.5.0_07
When I compile my codes in JCreator,it keeps coming up with this error:
Exception in thread "main" java.lang.NoClassDefFoundError: NScript
Press any key to continue...
I can go manually into Dos-mode and run it with SDK's java.I use these
command:
javac NScript.java
java NScript
and It works.
But how can I compile my code in JCreator?
Can some one help me? why this doesn't work in JCreator but it works at
the command line?
Thanks!
PS:
this is my classpass in my pc:
C:\Documents and Settings\Administrator>path
PATH=D:\Tcl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\mgl\bin\win32;D:\Java\jdk1.5.0_07\bin;.;D:\Java\jdk1.5.0_07\lib
C:\Documents and Settings\Administrator>set classpath
CLASSPATH=.;D:\Java\jdk1.5.0_07\lib\dt.jar;D:\Java\jdk1.5.0_07\lib\tools.jar;D:\
Java\jdk1.5.0_07\jre\lib\rt.jar
When I compile my codes in JCreator,it keeps coming up with this error:
Exception in thread "main" java.lang.NoClassDefFoundError: NScript
Press any key to continue...
I can go manually into Dos-mode and run it with SDK's java.I use these
command:
javac NScript.java
java NScript
and It works.
But how can I compile my code in JCreator?
Can some one help me? why this doesn't work in JCreator but it works at
the command line?
Thanks!
PS:
this is my classpass in my pc:
C:\Documents and Settings\Administrator>path
PATH=D:\Tcl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\mgl\bin\win32;D:\Java\jdk1.5.0_07\bin;.;D:\Java\jdk1.5.0_07\lib
C:\Documents and Settings\Administrator>set classpath
CLASSPATH=.;D:\Java\jdk1.5.0_07\lib\dt.jar;D:\Java\jdk1.5.0_07\lib\tools.jar;D:\
Java\jdk1.5.0_07\jre\lib\rt.jar