Java Question
| From: | Conover, Ryan | Date: | Tue, 27 Feb 2001 14:25:15 +0000 |
| Subject: | Java Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-41830@lists.php.net to get a copy of this message | ||
I have not programmed in Java in awhile. I keep getting an error: when I
invoke the JVM java Welcome.
Exception in thread "main" java.lang.NoClassDefFoundError: Welcome
It compiles fine. javac Welcome.java
import java.lang.*;
public class Welcome {
//main method
public static void main( String args[] ){
System.out.println( "Welcome to Java Programming!" );
}
}
The above is the code I am compiling.
Ryan Conover