Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337335

Summary: [launcher] eclipse.exe crashes the jre with a fatal error, eclipsec.exe runs ok
Product: [Eclipse Project] Equinox Reporter: Carlo Salinari <carlo.salinari>
Component: LauncherAssignee: Project Inbox <equinox.launcher-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: critical    
Priority: P3 CC: aniefer, remy.suen, tjwatson
Version: 3.6.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug
Attachments:
Description Flags
jvm error log none

Description Carlo Salinari CLA 2011-02-16 11:52:10 EST
Build Identifier:  20100917-0705

When I double-click on eclipse.exe, the eclipse splash screen appears for less than a second and then the jre dies with a fatal error log (attached).

Launching eclipsec.exe works fine though.

Windows 7 64 bit

java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)

Reproducible: Always

Steps to Reproduce:
1. click or invoke eclipse.exe
Comment 1 Carlo Salinari CLA 2011-02-16 11:53:19 EST
Created attachment 189115 [details]
jvm error log
Comment 2 DJ Houghton CLA 2011-02-16 13:19:43 EST
I think that build is Eclipse 3.6.1. Please adjust the Bugzilla Version accordingly if not. Thanks.
Comment 3 Carlo Salinari CLA 2011-02-16 13:31:57 EST
(In reply to comment #2)
> I think that build is Eclipse 3.6.1. Please adjust the Bugzilla Version
> accordingly if not. Thanks.

Yes, it is Eclipse 3.6.1.
Comment 4 Andrew Niefer CLA 2011-02-16 13:50:56 EST
Can you try adding the following 2 lines into your eclipse.ini file (above the -vmargs):

-vm
C:\Program Files\Java\jdk1.6.0_24\jre\bin\javaw.exe


There is very little difference between eclipse.exe & eclipsec.exe beyond the windows linking as gui vs console so this is weird to me.
Comment 5 Carlo Salinari CLA 2011-02-16 14:23:59 EST
(In reply to comment #4)
> Can you try adding the following 2 lines into your eclipse.ini file (above the
> -vmargs):
> 
> -vm
> C:\Program Files\Java\jdk1.6.0_24\jre\bin\javaw.exe
> 
> 
> There is very little difference between eclipse.exe & eclipsec.exe beyond the
> windows linking as gui vs console so this is weird to me.

It worked. After inserting these 2 lines eclipse.exe started flawlessly.

But after reverting eclipse.ini to its previous content (i.e. without the 2 lines) eclipse.exe STILL keeps working, as if being able to run for one time "fixed" something.

That is: I'm no more able to reproduce the bug. I'm puzzled.
Comment 6 Eclipse Genie CLA 2019-04-10 05:33:21 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 7 Thomas Watson CLA 2019-04-11 16:11:46 EDT
based on comment 5 returning as worksforme.  reopen if you can reproduce again.