hello,
i was writing a java program and was wondering what i am doing wrong...
i compiled it, and when i type "java Test" it comes up with this error....
Exception in thread "main" java.lang.NoClassDefFoundError: Test
i dont see any problems with my code because it compiles... im using jdk1.5.0_05 i really dont know....
incase you want the code, simple hello world one
please help
i was writing a java program and was wondering what i am doing wrong...
i compiled it, and when i type "java Test" it comes up with this error....
Exception in thread "main" java.lang.NoClassDefFoundError: Test
i dont see any problems with my code because it compiles... im using jdk1.5.0_05 i really dont know....
Code:
public class Test
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
please help