FreeKB - Configure Eclipse to use a certain version of Java
Eclipse - Configure Eclipse to use a certain version of Java

Eclipce can be run with different flavors and difference versions of Java, such as Sun Java, Oracle Java, or OpenJDK, just to name a few. If you want Eclipse to use a particular version of Java, add the following lines at the very beginning of your eclipse.ini file.



For example:

C:\Program Files\Java\jdk1.8.0_131\bin\javaw.exe


Then, launch Eclipse, and select Help > About Eclipse > Installation Details > Configuration tab, and ensure that the path to your javaw.exe file is displayed. In this example, Eclipse is running on version 8 of Java, update 201.

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 6a8ac in the box below so that we can be sure you are a human.