Specifying the JDK Used To Run Eclipse

How do you specify precisely which JDK will be used to run Eclipse?

The short answer: Put it in eclipse.ini:

-vm
C:\jdk1.7.0_76\bin\javaw.exe

The -vm and the path to the Java executable need to be on separate lines.

Reference this Eclipse wiki page about eclipse.ini for details.

Leave a Reply