Skip to main content



      Home
Home » Newcomers » Newcomers » can't start eclipse (JVM terminated exit code=2)
can't start eclipse (JVM terminated exit code=2) [message #4453] Tue, 18 January 2005 06:24 Go to next message
Eclipse UserFriend
Originally posted by: dd.nospamplease.com

Every time I try and start Eclipse I just get the dialog box
come up with JVM terminated Exit code=2. I notice it's
using javaw.exe from windows\system32 instead of from
program files\java (which is my 1.4.2 Sun java installation).

I'm confused as to why Java is launched, after all, I'm only
starting the IDE.

~dd
Re: can't start eclipse (JVM terminated exit code=2) [message #4594 is a reply to message #4453] Tue, 18 January 2005 09:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Chris_Laffra.ca.ibm.com

The eclipse IDE is a java program (eclipse is written in Java).
The launcher is a small native program that runs a JVM with the eclipse
application.

You probably have a rougue environment variable pointing to a non-existent
JAVA HOME.
You can influence what VM to use by creating a shortcut to the launcher
(eclipse.exe)
and pass the argument "-vm [path-to-jre]/jre/bin/javaw.exe"

More explanation is given in
http://www.eclipsefaq.org/chris/faq/html/faq25.html

--
Chris Laffra, http://eclipsefaq.org


"d d" <dd@nospamplease.com> wrote in message
news:csirl0$1os$1@www.eclipse.org...
> Every time I try and start Eclipse I just get the dialog box
> come up with JVM terminated Exit code=2. I notice it's
> using javaw.exe from windows\system32 instead of from
> program files\java (which is my 1.4.2 Sun java installation).
>
> I'm confused as to why Java is launched, after all, I'm only
> starting the IDE.
>
> ~dd
>
>
Re: can't start eclipse (JVM terminated exit code=2) [message #4866 is a reply to message #4594] Tue, 18 January 2005 10:10 Go to previous message
Eclipse UserFriend
Originally posted by: dd.nospamplease.com

Doh!! I assumed having the path to my sun JVM at the front of
the path env. var would be sufficient. I'd seen that FAQ but didn't
think it was an issue as I didn't see how it could find Microsoft's
JVM before the Sun one.

Well naturally that did the trick. Thanks Chris.

~dd

"Chris Laffra" <Chris_Laffra@ca.ibm.com> wrote in message
news:csj7in$k3j$1@www.eclipse.org...
> The eclipse IDE is a java program (eclipse is written in Java).
> The launcher is a small native program that runs a JVM with the eclipse
> application.
>
> You probably have a rougue environment variable pointing to a non-existent
> JAVA HOME.
> You can influence what VM to use by creating a shortcut to the launcher
> (eclipse.exe)
> and pass the argument "-vm [path-to-jre]/jre/bin/javaw.exe"
>
> More explanation is given in
> http://www.eclipsefaq.org/chris/faq/html/faq25.html
>
> --
> Chris Laffra, http://eclipsefaq.org
>
>
> "d d" <dd@nospamplease.com> wrote in message
> news:csirl0$1os$1@www.eclipse.org...
>> Every time I try and start Eclipse I just get the dialog box
>> come up with JVM terminated Exit code=2. I notice it's
>> using javaw.exe from windows\system32 instead of from
>> program files\java (which is my 1.4.2 Sun java installation).
>>
>> I'm confused as to why Java is launched, after all, I'm only
>> starting the IDE.
>>
>> ~dd
>>
>>
>
>
Previous Topic:Installation of Eclipse on Windows XP
Next Topic:What file to download? GNU/Linux
Goto Forum:
  


Current Time: Tue May 13 13:40:28 EDT 2025

Powered by FUDForum. Page generated in 0.08131 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top