Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Configuring Eclipse to Point to JVM
Configuring Eclipse to Point to JVM [message #251544] Thu, 13 March 2008 19:48 Go to next message
Eclipse UserFriend
Originally posted by: khoohock.comp.nus.edu.sg

Hi

I copied to JDK 1.6 and it downloaded to the default directory ie.
d:\jdk1.1.6\bin. (This should be the correct version although I do not
know why it points to 1.1.6).

I subsequently pasted all the files downloaded to :

D:\Documents and Settings\Michael Khoo\My
Documents\Unzipped\eclipse-java-europa-winter-win32\eclipse\ jre\bin

which is where Eclipse expects the java executable files, dll files etc.

But when I run Eclipse I got a runtime error from the JVM with
termination code = 1.

Is there a way to configure Eclipse to point to the original directory the
JDK was downloaded ie. d:\jdk1.1.6\bin? Or what is the problem? Is there
anything I need to do to configure Eclipse properly?
Re: Configuring Eclipse to Point to JVM [message #251550 is a reply to message #251544] Thu, 13 March 2008 20:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Michael wrote:
> Hi
>
> I copied to JDK 1.6 and it downloaded to the default directory ie.
> d:\jdk1.1.6\bin. (This should be the correct version although I do not
> know why it points to 1.1.6).
>
> I subsequently pasted all the files downloaded to :
>
> D:\Documents and Settings\Michael Khoo\My
> Documents\Unzipped\eclipse-java-europa-winter-win32\eclipse\ jre\bin
>
> which is where Eclipse expects the java executable files, dll files etc.
>
> But when I run Eclipse I got a runtime error from the JVM with
> termination code = 1.
> Is there a way to configure Eclipse to point to the original directory
> the JDK was downloaded ie. d:\jdk1.1.6\bin? Or what is the problem? Is
> there anything I need to do to configure Eclipse properly?

You should not copy files into the eclipse/jre directory; use
eclipse.ini instead. See this wiki page: http://wiki.eclipse.org/Eclipse.ini

Hope this helps,
Eric
Re: Configuring Eclipse to Point to JVM [message #251557 is a reply to message #251544] Thu, 13 March 2008 21:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: khoohock.comp.nus.edu.sg

Hi Eric

I have amended my eclipse.ini file accordingly. I use the file from the
directory where my Eclipse has installed.

I still hit with the same error from the JVM module after executing with
terminated code = 1. My eclipse.ini contents are :

-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vm
D:\jdk1.1.6\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m

Actually I am not sure whether the java I downloaded is it 1.6 or 1.1.6?
My friend told me it should be 1.6 and the web page seems to give the
showing that 1.1.6 is the naming convention by highlighting in yellow only
the 1.6?

Eric can you help?

Thanks.

Michael
Re: Configuring Eclipse to Point to JVM [message #251561 is a reply to message #251557] Thu, 13 March 2008 21:20 Go to previous messageGo to next message
Mark Dexter is currently offline Mark DexterFriend
Messages: 324
Registered: July 2009
Senior Member
Michael wrote:
> Hi Eric
>
> I have amended my eclipse.ini file accordingly. I use the file from the
> directory where my Eclipse has installed.
>
> I still hit with the same error from the JVM module after executing with
> terminated code = 1. My eclipse.ini contents are :
>
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256M
> -vm
> D:\jdk1.1.6\bin\javaw.exe
> -vmargs
> -Dosgi.requiredJavaVersion=1.6
> -Xms40m
> -Xmx512m
>
> Actually I am not sure whether the java I downloaded is it 1.6 or 1.1.6?
> My friend told me it should be 1.6 and the web page seems to give the
> showing that 1.1.6 is the naming convention by highlighting in yellow
> only the 1.6?
>
> Eric can you help?
>
> Thanks.
>
> Michael
Michael, it should be jdk1.6.0. If you go java -version at the cmd
prompt, it will tell you the version. If it's not 1.6, go to Sun and
download the JDK 6. JDK 6 is the same as 1.6 (don't ask me why the
versions are like this). Hope this helps. Mark
Re: Configuring Eclipse to Point to JVM [message #1136490 is a reply to message #251557] Sun, 13 October 2013 23:26 Go to previous message
dan carter is currently offline dan carterFriend
Messages: 3
Registered: October 2011
Junior Member
It's worth pointing out that if you point at the java dll, it means eclipse will run in-process with the eclipse.exe launcher rather than launching a seperate java process. This can be helpful to see clearly which one is eclipse in the process list.

-vm
D:/opt/jdk1.7.0_17/jre/bin/server/jvm.dll
Previous Topic:Where is ReDo, Undo in Tool bar?
Next Topic:[SOLVED] Cannot install plug-in through the update site I have created using Eclipse
Goto Forum:
  


Current Time: Fri Apr 19 09:04:04 GMT 2024

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

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

Back to the top