|
-
Jun 4th, 2006, 07:51 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] java noob question
Hello
i was trng to run a simple "hello world" program, i have got j2sdk1.4.2_04
i am using the windows command prompt
i can get javac to compile to come up with the hello.class file, and my hello world program compiles fine, however when i try to execute it using java hello command i get the following error message
exception in thread "main" java.lang.NoClassDefFoundError: hello
my hello world program contains the following java code
public class hello
{
public static void main ( String[] args )
{
System.out.println("Hello World");
}
}
please can you guys help me
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|