Hi,
I'm having a really n00b problem over here ... can't seem to put a "Hello World" program to work ...
C'mon, don't laugh at me ...
I'm getting the error message Exception in thread "main" java.lang.NoClassDefFoundError: cript/class. Searching google, I think it has something to do with classpaths or something similar, but can't seem to set them up ... I attached code with the steps I took.
For quick reference:
Filename: cript.java
Contents:
class cript {
public static void main(String[] args) {
System.out.println("This s**t doesn't work!\n");
}
}
My set environment variables:
CLASSPATH=.;C:\Program Files\SQLLIB\java\db2java.zip;C:\Program Files\SQLLIB\java\runtime.zip;C:\Program Files\SQLLIB\bin
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\SQLLIB\BIN;C:\Program Files\SQLLIB\FUNCTION;C:\Program Files\SQLLIB\HELP;C:\Program Files\j2sdk1.4.2_05\bin
Thanks for help ...
I'm having a really n00b problem over here ... can't seem to put a "Hello World" program to work ...
C'mon, don't laugh at me ...
I'm getting the error message Exception in thread "main" java.lang.NoClassDefFoundError: cript/class. Searching google, I think it has something to do with classpaths or something similar, but can't seem to set them up ... I attached code with the steps I took.
For quick reference:
Filename: cript.java
Contents:
class cript {
public static void main(String[] args) {
System.out.println("This s**t doesn't work!\n");
}
}
My set environment variables:
CLASSPATH=.;C:\Program Files\SQLLIB\java\db2java.zip;C:\Program Files\SQLLIB\java\runtime.zip;C:\Program Files\SQLLIB\bin
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\SQLLIB\BIN;C:\Program Files\SQLLIB\FUNCTION;C:\Program Files\SQLLIB\HELP;C:\Program Files\j2sdk1.4.2_05\bin
Thanks for help ...
