- This topic has 12 replies, 5 voices, and was last updated 20 years, 8 months ago by Riyad Kalla.
-
AuthorPosts
-
madcoderMemberI’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)
Riyad KallaMemberThis 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.
Riyad KallaMemberNote 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.
invantixMemberThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
invantixMemberThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
invantixMemberThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
Scott AndersonParticipantThis message has not been recovered.
tfirmaMemberHello – 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
invantixMemberYes, 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_03Everything 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
Riyad KallaMemberChris,
Thank you for closing the loop with us. -
AuthorPosts