javaw.exe causes exit code 13

45 views
Skip to first unread message

Daevid Vincent

unread,
Nov 15, 2011, 2:30:50 PM11/15/11
to seattle-java-andr...@googlegroups.com, f0dder1024

Miene,

 

I tried your trick of making my Eclipse Indigo use the javaw VM, but it shit the bed…

 

C:\Coding\eclipse\eclipse.exe -vm "C:\Program Files (x86)\Java\jre6\bin\javaw.exe"

 

Googling a little bit revealed this useful page:

http://stackoverflow.com/questions/4945178/cannot-run-eclipse-jvm-terminated-exit-code-13

 

The short version is I’m running Windows7 64-bit, so I have to change the line to be:

 

C:\Coding\eclipse\eclipse.exe -vm "C:\Program Files\Java\jre6\bin\javaw.exe"

 

Note the lack of (x86). This seems obvious in retrospect, but at the time, I didn’t even know there were TWO different jre6\bin trees on my computer!

 

-Daevid.com

 

Bob Marley

unread,
Nov 15, 2011, 3:08:36 PM11/15/11
to Daevid Vincent, seattle-java-andr...@googlegroups.com
Glad things worked out for you. Why do you have two different versions of the JRE?

How many JDK do you have? Careful it might come back to haunt you in the form of unexpected behaviour or bugs.

-

-

marc cauchy

unread,
Nov 17, 2011, 9:12:27 PM11/17/11
to seattle-java-andr...@googlegroups.com, dae...@daevid.com
You probably need both JRE ( 32 and 64 bits) so everything would work on your box regardless if you are running a native 64 app or a WoW ( WindowOnWindow : 32 bits app on 64 bits OS).
 
For instance if you start Internet Explorer 32 bits, you might not be able to run any applets within the browser if all you have is the JRE 64 bits ( 32 bits app would not be able to host/LoadLibrary a 64 bits library)
 
 
Also, if one day you have an issue with a COM component not registering (or unusable)  or with the registry, be aware that there is 2 keys in the registry as well.
Expl :
  HKLM\Software\Microsoft\Internet Explorer\AdvancedOptions\JAVA_VM\JIT
  HKLM\Software\Wow6432Node\Microsoft\Internet Explorer\AdvancedOptions\JAVA_VM\JIT
 
 
 

Date: Tue, 15 Nov 2011 12:08:36 -0800
Subject: Re: javaw.exe causes exit code 13
From: mlee...@gmail.com
To: dae...@daevid.com
CC: seattle-java-andr...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages