-
BASIC Java errors
Code:
public class HelloWorldApp {
public static void main ( String [] args ) {
System.out.println ( "TEST" );
}
}
I just installed java 1.4.2_09 and compiled the above, but when i try to run it as so:
java HelloWorldApp
I get this:
C:\Java>java HelloWorldApp
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp
What is going on, here is some information that might be helpful:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing)
-
Re: BASIC Java errors
Fixed it, classpath had to be set to nothing... something funky with quicktime was in there.