×

Loading...

Hi,Jabber, I can't set classpath correctly. Pls help

Dear Jabber,
I'm benefiting from your experience and knowledge. I really appreciate your kind help to us.
I'm a begginner of Java. When I used the command c:\javaexec>java HelloWorld to run the program, it gave the following error message: Exception in thread “main” java.lang.NoClassDefFoundError: HelloWorld.
I've read your replies to Java environment setting. However,I still can't work it out. I have both jdk1.3 and Jbuilder3.5 installed in my computer.
The following is the environment I set in JavaDos.bat (I run it when I enter DOS)
set path=c:\jdk1.3\bin;c:\jdk1.3\lib;c:\jdk1.3\jre\bin
set classpath=.;c:\jdk1.3\SRC.JAR
By the way, I can't find a directory like
C:\J2SDKEE1.3\LIB\J2EE.JAR in my computer. Pls help me out.
Thank you very much!

Yours truly
Sign in and Reply Report

Replies, comments and Discussions: