facebook

JVM Launcher: Could not find main class. Program will exit.

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #299944 Reply

    Jorge Vicens
    Participant

    Whenever I open a second instance of MyEclipse to work on a different workspace, my ant builds stop running.

    I get the following error when I run a build.xml…

    Java Virtual Machine Launcher:
    Could not find the main class. Program will exit.

    Does anyone have an idea of how to get around this most annoying problem?

    Thanks.

    #299945 Reply

    Ton Huisman
    Member

    Most likely your system is out of resources. Please disclose specs (systemhardware) and settings (MY memory parameters) so we can compare.
    I’ve only been able to ‘recover’ from this message by closing all instances of MyEclipse, and restarting them one by one. Most I could open on a 3 GB machine was 3, and 4 on a Vista x64 with 4 GB of ram (and VMWare & most other apps turned off) running 32 bit instances of ME with the default memory parameters.

    HTH
    Ton

    #300045 Reply

    Loyal Water
    Member

    What version of MyEclipse are you working with? Can you go to MyEclipse > Installation Summary > Installation Details and paste the details here for us.

    #300817 Reply

    Jorge Vicens
    Participant

    *** Date:
    Monday, July 27, 2009 3:34:21 PM EDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 7.1
    Build id: 7.1-20090306

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 7.1
    Build id: 7.1-20090306

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Genuitec\MyEclipse 7.1\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Genuitec\MyEclipse 7.1\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
    -startup
    C:\Genuitec\MyEclipse 7.1\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
    -clean
    -configuration
    C:\Genuitec\MyEclipse 7.1\configuration
    -vm
    C:\java\jre1.5.0_11\bin\client\jvm.dll

    I downgraded from 7.5 to see if the problem would go away, but it does not.

    #300850 Reply

    Loyal Water
    Member

    propMaster,
    Can you answer Ton’s question for me. This issue seems like a straight eclipse issue to me.

    #300894 Reply

    Jorge Vicens
    Participant

    I am on a quad core laptop with 4GB ram. This problem started when I upgraded from MyEclipse 5.x to 7.1

    What other information do you need? Please include information on how to get it.

    #300907 Reply

    support-joy
    Member

    How did you upgrade from MyEclipse 5.x to 7.1? Please understand that the base eclipse for 5.1 is different than 7.1. It is recommended to install a separate MyEclipse 7.1 instead of upgrading from 5.x to 7.1.

    I would recommend you to perform a clean install.
    1. Run the uninstaller.
    2. Make sure the MyEclipse Install Directory has been completely removed
    2.1. Pulse Install Directory, on XP it’s under C:\Program Files in \Pulse or \Genuitec, and on Vista it’s under \AppData\Local and then under \Pulse or \Genuitec again
    3. Then make sure the pulse2.locator file under is erased as well

    Next download the manual installer from the MyEclipse download page. It’s listed as option #5. This is simply Eclipse 3.4.2 with MyEclipse installed off an archived update site that is included in the download. Simply unzip it and run ‘eclipse.exe’ and you’re done.
    Let me know how this works for you.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: JVM Launcher: Could not find main class. Program will exit.

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