I am lost!!!
My problem is that I can compile a class but cant run. I believe it's down to my CLASSPATH. I am getting Exception in thread "main" java.lang.NoClassDefFoundError: when thring run any class. Here is what I have:
C:\j2sdk1.4.0_01\bin\java.exe
AND
C:\Program Files\Java\j2re1.4.0_01\bin\java.exe
I am running W2000.
CLASSPATH: C:\SQLLIB\java\db2java.zip;C:\SQLLIB\java\runtime.zip;C:\j2sdk1.4.0_01\bin;C:\Program Files\Java\j2re1.4.0_01\bin
PATH:
C:\j2sdk1.4.0_01\bin
Please what am I doing wrong?
Thanks
My problem is that I can compile a class but cant run. I believe it's down to my CLASSPATH. I am getting Exception in thread "main" java.lang.NoClassDefFoundError: when thring run any class. Here is what I have:
C:\j2sdk1.4.0_01\bin\java.exe
AND
C:\Program Files\Java\j2re1.4.0_01\bin\java.exe
I am running W2000.
CLASSPATH: C:\SQLLIB\java\db2java.zip;C:\SQLLIB\java\runtime.zip;C:\j2sdk1.4.0_01\bin;C:\Program Files\Java\j2re1.4.0_01\bin
PATH:
C:\j2sdk1.4.0_01\bin
Please what am I doing wrong?
Thanks