facebook

MyEclipse for the Mac won’t run simple class

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #293902 Reply

    Mork
    Participant

    I have MyEclipse 7 installed on the Mac.

    The (Mac O/S default) Java 1.5 JVM is in the build path.

    However, when I created a simple file called “EnumTest.java” and entered the following code below, I get a “Exception in thread “main” java.lang.NoClassDefFoundError: EnumTest”

    To create this file, I created a brand new Java project, then a Java class called EnumTest.java.

    The same code on my Windows machine runs fine.

    Any ideas why MyEclipse is so confused?

    Thanks in advance for a speedy response! 🙂

    M

    ——————————–

    public class EnumTest
    {

    /**
    * @param args
    */
    public static void main(String[] args)
    {
    System.out.println(“hello”);
    }

    #293920

    Mork
    Participant

    This issue is CLOSED.

    The problem was an imported workspace folder into the Mac file system. For some reason, the Mac MyEclipse was trying to resolve (even with a new project created on the Mac) a combined path (UNIX + WINDOWS).

    Not sure why, but as long as I just create new projects in the Workspaces folder, all works OK.

    M

    #293961

    Loyal Water
    Member

    Glad the issue is sorted out.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: MyEclipse for the Mac won’t run simple class

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in