I have an Eclipse project that seems to be OK on the Mac, but when I created a brand new project and a class called "EnumTest.java" with the code below, I get a....
"Exception in thread "main" java.lang.NoClassDefFoundError: EnumTest" error.
The same code runs fine on Eclipse under Windows.
Anyone suggest what might be wrong?
Thanks in advance.
M
---------------------
// Class is saved as: "EnumTest.java"
public class EnumTest
{
public static void main(String[] args)
{
// TODO Auto-generated method stub
System.out.println("hello");
}
}
I've looked at the Eclipse build path and it has the "JVM 1.5.0 Mac OS/X Default" loaded.
Also tried a project clean, refresh, all the usual stuff.
There must be a configuration issue going on here, but I don't see what it is. I've never had this problem under Windows.
"Exception in thread "main" java.lang.NoClassDefFoundError: EnumTest" error.
The same code runs fine on Eclipse under Windows.
Anyone suggest what might be wrong?
Thanks in advance.
M
---------------------
// Class is saved as: "EnumTest.java"
public class EnumTest
{
public static void main(String[] args)
{
// TODO Auto-generated method stub
System.out.println("hello");
}
}
I've looked at the Eclipse build path and it has the "JVM 1.5.0 Mac OS/X Default" loaded.
Also tried a project clean, refresh, all the usual stuff.
There must be a configuration issue going on here, but I don't see what it is. I've never had this problem under Windows.