File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse Startup Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse Startup Problem" Watch "Eclipse Startup Problem" New topic

Eclipse Startup Problem

Steve Daly

Joined: Nov 04, 2003
Posts: 4
For some reason I can no longer start Eclipse M8. Everything worked last week until I had to uninstall/reinstall JDK 1.4.2_04 to a new location on my drive. I get a JVM Exit Code 3 and the following log information:
!SESSION May 10, 2004 09:38:26.266 ---------------------------------------------
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!ENTRY org.eclipse.osgi May 10, 2004 09:38:26.296
!MESSAGE Application error
java.lang.RuntimeException: Unable to locate application extension: org.eclipse.ui.ide.workbench
at org.eclipse.core.internal.runtime.PlatformActivator$
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.eclipse.core.launcher.Main.basicRun(
at org.eclipse.core.launcher.Main.main(
I have Google'd my way around the 'net and cannot get a lead. I reinstalled Eclipse to a new drive and I still get a dialog box with the error. I have tried to run from the command line (both with the launcher and the javaw.exe) with no luck.
Tim West
Ranch Hand

Joined: Mar 15, 2004
Posts: 539
Me and someone else discussed a different Eclipse startup problem a while back, but the "solution" (it was somewhat unsatisfactory, but it worked) we arrived at may work for you too. Read here.

Steve Daly

Joined: Nov 04, 2003
Posts: 4
Thanks for the link, but it didn't help the problem.
I can get Eclipse running if I start it from the command line. I have to tell it the JVM to use along with the other "standard" options.
It's just wierd though. I cannot figure out where to change the startup options. I can't find a file that has the information or anything in the registry.
Tim West
Ranch Hand

Joined: Mar 15, 2004
Posts: 539
Hey Stephen,
Eclipse manages its own config in the <eclipsedir>/.config directory. I had a quick look but I don't think you're supposed to edit the files there by hand
Aside from creating a shortcut/batch file that passes appropriate options, I dunno what to do from here....Eclipse seems to be a bit like that. I don't know of anywhere you explicitly set the JVM etc. That said I don't pass any command line args explicitly, so maybe there are defaults that work in most situations.
Sorry I couldn't help more
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Have you tried just installing a fresh copy of Eclipse?

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
qingwu wang
Ranch Hand

Joined: Feb 19, 2003
Posts: 147
u can install fresh eclipse system then copy directories in.

Thanks...qingwu<br />When I open my eyes,I see your pretty face.
Alex Ku
Ranch Hand

Joined: Jan 15, 2002
Posts: 47
I had the same problem. I just deleted every in the configuration folder except config.ini
I think by doing so, it just re-create all the setting.
I agree. Here's the link:
subject: Eclipse Startup Problem
jQuery in Action, 3rd edition