facebook

The JDK you specified no longer exists

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #306992 Reply

    Brian Keese
    Member

    New install of MyEclipse 8.0 on
    VMWare Ubuntu 9.10 running on Windows 7 host machine.

    When trying to install a Tomcat 6 server connector, everything seems to go ok.
    I have java-6-sun installed at /usr/lib/jvm/java-6-sun
    In the Tomcat -> Add JDK dialog:
    I select that path for the JRE home.
    The dialog automatically picks up the JRE name (java-6-sun-1.6.0.15) and the JRE system libraries.
    I click Finish (then I have to hit enter because the dialog doesn’t want to see the click).
    I click OK (on the Preferences (Filtered) dialog).

    I try to start the server, but get the message “The selection cannot be launched…”
    Then I right-click on the new Tomcat 6.x server and select “Configure Server Connector”
    I expand the Tomcat 6.x Server element and click JDK
    This is when the error message appears “The JDK you specified no longer exists.”
    I click OK and the JDK configuration information is there with an error message at the top that says “Tomcat 6 Server requires a Java5 or greater JVM for execution”

    The jdk I specified is Java 6.
    Please help! I can’t get this to work. It does the same thing when trying to set up the MyEclipse Tomcat server (even when resetting to defaults).

    #306993 Reply

    Brian Keese
    Member

    Well, nevermind I guess. Restarting MyEclipse seems to have fixed it.

    #306995 Reply

    Brian Keese
    Member

    Well, the JDK part seems to be OK now, but I still get the error message “The selection cannot be launched, and there are no recent launches.” I guess I still need help.

    #306997 Reply

    Brian Keese
    Member

    One more piece of info: None of the servers will launch (MyEclipse Derby, MyEclipse Tomcat, or Tomcat 6.x) I guess it’s an Eclipse newbie thing.

    #307022 Reply

    support-joy
    Member

    bkeese,

    Have you configured JDK 1.6? Can you attach a screenshot of the same? If not, please download JDK 1.6 and add the same to MyEclipse IDE. Open Window > Preferences > Java > Installed JREs. If you click on Installed JREs, it will list you the JREs configured. Click on the [Add] button and follow the wizard. Next set up Tomcat 6.x and set the JDK to 1.6.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: The JDK you specified no longer exists

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