facebook

NoSuchMethodError when starting myeclipse [Closed]

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

    madcoder
    Member

    I’m getting the following exception when attempting to start myeclipse:
    (jdk 1.4.2, eclipse 3.0m8, myeclipse 2.7/3.7)

    What should I do to fix this?

    !SESSION ———————————————————————-
    !ENTRY org.eclipse.core.launcher 4 0 Apr 26, 2004 11:46:22.923
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.NoSuchMethodError
    at org.eclipse.osgi.framework.util.SecureAction.getFileOutputStream(SecureAction.java:102)
    at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultLog.openFile(DefaultLog.java:106)
    at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultLog.log(DefaultLog.java:146)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:125)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
    at org.eclipse.core.launcher.Main.run(Main.java:692)
    at org.eclipse.core.launcher.Main.main(Main.java:676)

    #206404 Reply

    Riyad Kalla
    Member

    This looks to be a problem with the core Eclipse install. I’d suggest redownload and reinstalling the Eclipse 3.0M8 SDK into a separate directory, and then running it by itself to make sure it starts up. Once it does, shut it down, reinstall MyEclipse 3.7.2, and then start it back up again.

    #206405 Reply

    Riyad Kalla
    Member

    Note that I said “Eclipse SDK” above, but the JDT will work just as well. If you are developing FOR eclipse (plugins, etc.) then get the SDK, if you are just using Eclipse for your own Java programming I believe the JDT will do the trick.

    #206937 Reply

    invantix
    Member

    This message has not been recovered.

    #206939 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

    #206940 Reply

    invantix
    Member

    This message has not been recovered.

    #206941 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

    #206942 Reply

    invantix
    Member

    This message has not been recovered.

    #206944 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

    #206945 Reply

    Scott Anderson
    Participant

    This message has not been recovered.

    #207038 Reply

    tfirma
    Member

    Hello – I’ve got the same problem, even with the suggestions above, can’t seem to be able to start Eclipse! Any more suggestions? Thanks –

    Tom

    #207039 Reply

    invantix
    Member

    Yes, I got this working.
    I found that Eclipse 3.0 needs JDK 1.4. I checked Windows PATH environment variable and found that it contained c:\oracle\jre\bin. That was a 1.3 version of the JDK.

    So…..

    I removed that from my PATH and added in the path to:
    c:\jdk1.4.2_03\bin (where my JDK 1.4 is inslalled)
    I also set my JAVA_HOME environment variable to:
    c:\jdk1.4.2_03

    Everything worked fine after that.

    Alternatively, you can use the startup param as Scott mentioned above. You can modify the shortcut that you use to launce eclipse. This is probably safer because you might install something that modifies your PATH.

    -Chris

    #207072 Reply

    Riyad Kalla
    Member

    Chris,
    Thank you for closing the loop with us.

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: NoSuchMethodError when starting myeclipse [Closed]

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