Configuring Eclipse to Point to JVM [message #251544] |
Thu, 13 March 2008 19:48 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08382 seconds