[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: wrong jre

Anthony Salamay a écrit :
I'm working with eclipse 3.1 on a windows xp pro laptop. I have been trying to point the jre to the newest one I have which is jre1.5.0_06. I cannot figure out how to do this. I can go and see the config file in the help section but it points to another jre that was included with an Oracle application suite. Where do I change the config file so it points to the jre that I want to use?
In the eclipse.ini file located where the eclipse.exe is, you add:
-vm
path_to_my_1.5.0_06_JRE

Be sure put it before the -vmargs entries. -vmargs needs to be the last entries.

My eclise.ini file looks like this:

-debug
-consolelog
-nl
fr_CA
-vm
D:\jdks\jdk1.4.2_11\jre\bin\java.exe
-showlocation
-vmargs
-Xms40m
-Xmx300M
--
Olivier