|
-
Dec 22nd, 2002, 03:14 PM
#1
Thread Starter
Lively Member
Java console and Windows XP
Hi All,
I tried to compile the simple "Hello World" program in my computer under Win XP, and I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
the code is as follows:
public class hello //hello is the fileName
{
public static void main(String[] args)
{
System.out.println("Starting Java ...");
System.out.println("Hello World!");
}
}
What am I doing wrong?
TIA
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
|