Hi!
I am not new to java by any means. But there is an error code which I have had described as a corrupt installation.
I am a student and everyone else in the class seems to have had no issues with their install.
Here is the code:
// Program Name: Welcome
// Program Description: A simple program that prints a welcome statement to the console.
// Author: ???
// Date: 09.05.07
public class Welcome
{
public static void Main(String[] args)
{
System.out.prin t("Welcome to Java!");
}
}
The error displayed is this:
Exception in thread "main" java.lang.NoCla ssDefFoundError : Welcome/java
As I said before everyone I have talked to said it is due to corrupt installation. Please help! I need Java to run properly if I am to pass. ^_^
Thanks!
Dave
I am not new to java by any means. But there is an error code which I have had described as a corrupt installation.
I am a student and everyone else in the class seems to have had no issues with their install.
Here is the code:
// Program Name: Welcome
// Program Description: A simple program that prints a welcome statement to the console.
// Author: ???
// Date: 09.05.07
public class Welcome
{
public static void Main(String[] args)
{
System.out.prin t("Welcome to Java!");
}
}
The error displayed is this:
Exception in thread "main" java.lang.NoCla ssDefFoundError : Welcome/java
As I said before everyone I have talked to said it is due to corrupt installation. Please help! I need Java to run properly if I am to pass. ^_^
Thanks!
Dave
Comment