eclipse won't launch [message #915460] |
Mon, 17 September 2012 10:15 |
Simon Orr Messages: 2 Registered: September 2012 |
Junior Member |
|
|
Hi,
I wonder if anyone can help me,
I've had eclipse [Helios build 20100507] installed on my machine [Win7 x64] and running quite happily for quite some time now. For a long time, the only Java I had installed was the JRE1.6
I haven't touched eclipse in about a month as I've been working on a different project, which incidentally required that I install the JDK [jdk1.6.0_33] and set the JAVA_HOME environment variable. I can't think of any other changes which could be relevant.
When I came back to eclipse today, it wouldn't start (specifically, the splash screen showed for under a second then the process exited).
Having done some reading, it seems likely that the "default" JVM has changed and that eclipse may be having issues with this. So, I've tried the following:
edit the eclipse.ini file and added:
-vm
C:\Program Files\Java\jre6\bin\javaw.exe
I also set the vmargs' Xmx to 1024m
When launching eclipse now, the process stays alive for longer (2-3 seconds) but I see no splash screen at all.
Next, I tried explicitly setting it to the javaw.exe in the JDK (just in case). This had exactly the same effect as no ini setting (quick flicker of splash).
In an attempt to unwind back to where I was when I started I uninstalled the JDK, unset the JAVA_HOME environment variable, uninstalled the JRE and then reinstalled the latest JRE (1.7 update 7).
Now, launching eclipse with/without a VM specified in the ini results in no splash screen and a process that dies after 2-3 seconds.
If I attempt to run the launcher from the command line explicitly...
C:\Users\X>"C:\Program Files\Java\jre7\bin\javaw.exe" -jar "c:\Program Files (x86)\eclipse\plugins\org.eclipse.equinox.launcher_1.1.0.v20100507.jar"
The command line returns immediately and the javaw.exe process terminates less than a second later.
Can someone please point me at how I can diagnose this further? Are there any log files that I can access to see what's actually going on? (Note, I've checked Workspace\.metadata\.log and it hasn't been modified in over a month)
Needless to say, I've only switched back to eclipse because I need to use it so a workaround or quick-fix would be greatly appreciated
Many thanks
Edit:
Running the command-line java.exe with the -verbose option gives a lot of output but the final few lines are...
[Loaded org.eclipse.core.internal.runtime.PrintStackUtil from file:/C:/Program Files (x86)/eclipse/plugins/org.eclipse.equinox.common_3.6.0.v20100503.jar]
[Loaded org.eclipse.osgi.internal.resolver.ComputeNodeOrder from file:/c:/Program Files (x86)/eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar]
[Loaded org.eclipse.osgi.internal.resolver.ComputeNodeOrder$Digraph from file:/c:/Program Files (x86)/eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar]
[Loaded org.eclipse.osgi.internal.resolver.ComputeNodeOrder$Digraph$Vertex from file:/c:/Program Files (x86)/eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar]
[Loaded org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 from file:/c:/Program Files (x86)/eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar]
[Loaded org.eclipse.osgi.internal.serviceregistry.ServiceUse$2 from file:/c:/Program Files (x86)/eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar]
[Loaded org.eclipse.osgi.internal.serviceregistry.ServiceUse$3 from file:/c:/Program Files (x86)/eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar]
[Loaded org.eclipse.core.runtime.internal.adaptor.IModel from file:/c:/Program Files (x86)/eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar]
[Loaded org.xml.sax.EntityResolver from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded org.xml.sax.DTDHandler from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded org.xml.sax.ContentHandler from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded org.xml.sax.ErrorHandler from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded org.xml.sax.helpers.DefaultHandler from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded org.eclipse.core.runtime.internal.adaptor.PluginParser from file:/c:/Program Files (x86)/eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar]
[Loaded org.xml.sax.SAXParseException from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.net.FileNameMap from C:\Program Files\Java\jre7\lib\rt.jar]
None of which seems to indicate a problem?
[Updated on: Mon, 17 September 2012 10:40] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07648 seconds