facebook

Removing a JDK confuses MyEclipse/Eclipse [Closed]

💡
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 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #220855 Reply

    Mork
    Participant

    Hi all,

    I had originally installed the 1.5.0 JDK, but read that that would cause debugging problems.

    OK. So then I installed 1.4.2_06, but Eclipse/MyEclipse (not sure which is doing what…) still thought it was using 1.5.0.

    OK. So, then I removed the 1.5.0 JDK, and re-set the JDK to the 1.4.2_06 and cleaned all projects.

    Eclipse/MyEclipse still has tons of references to the 1.5.0 JDK and won’t debug at all. I get the “Specified VM not found” when trying to debug an Applet in the project.

    Log says:

    !ENTRY org.eclipse.jdt.launching 4 150 Dec 11, 2004 10:06:04.796
    !MESSAGE Specified VM install not found: type Standard VM, name jre1.5.0

    There is no longer any jre1.5.0 in any of the workbench settings I can find.

    There are two files that still have tons of references to jre1.5.0:

    c:\eclipse\workspace\.metadata\.plugins\org.eclipse.jdt.launching\libraryInfos.xml
    c:\eclipse\workspace\.metadata\.plugins\org.eclipse.ui.workbench\workbench.xml

    How do I un-confuse Eclipse/MyEclipse?

    Did I miss some JRE setting somewhere?

    The installed JREs in the Workbench…Java…Installed JREs are two:

    1. C:\j2sdk1.4.2_06
    2. C:\j2sdk1.4.2_06\jre

    (I added 2. above to see if Eclipse/MyEclipse needed more help finding the JRE). I’ve also tried each 1. and 2. above separately, but Eclipse/MyEclipse isn’t happy then either…

    Can you please help me get this JRE issue resovled?

    Thank you very much in advance.

    — M

    #220860

    Riyad Kalla
    Member

    How do I un-confuse Eclipse/MyEclipse?

    Navigate to your project properties > Java Build Path > Libraries, make sure you have the appropriate JRE Libraries added to your build path, most likely the old JDK 5.0 ones are there and not the new 1.4.2_06 ones. You need to do some audits of your project settings, then rebuild them.

    #220868

    Mork
    Participant

    Don’t think so. Just the 1.4.2_06 was there.

    There were so many references in just about every file in the plug-in directory I had to delete Eclipse/MyEclipse and start completely over.

    This was a major pain.

    If you want to see for yourself, try this out, try:

    Installing 1.5.0 on your computer and then install a fresh copy of Eclipse/MyEclipse.

    Add a project to it and deploy (make sure you have the JDK identiified)

    Install 1.4.2 on your computer.

    Un-install 1.5.0 from your computer

    Go into MyEclipse and make whatever changes you can in the interface
    Use a search tool like File Locator Pro and search for “jre1.5.0” in the Eclipse directory tree.

    I think you’ll be amazed how messed up Eclipse is. There was no way I could find to fix it though the interface.

    If you have time to try this send me a private message/email in case I don’t check this forum for a few days, OK?

    Thanks very much.

    — M

    #243785

    Whale
    Member

    I only get the same error when I try to run ANT.

    I dont have any references to the missing (old) JDK in my project (under build path etc) and the runtime values for ANT are pointing at the new JDK.

    “java -version” gives the new JDK.

    JAVA_HOME is defined for the new JDK.

    if anyone has any more suggestions??????????? that would be great

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Removing a JDK confuses MyEclipse/Eclipse [Closed]

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