Sunday, October 23, 2011

Configuring Eclipse to run with a specific JDK or JRE


1. Open the file eclipse.ini for editing

2. Add the two lines to specify the virtual machine to use (the bolded lines):

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar

-vm 
C:\Program Files\Java\jdk1.6.0_29\bin\javaw.exe

--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502

3. Now start eclipse.

No comments: