Thursday, November 17, 2016

Eclipse: Updating eclipse.ini on Mac OS X

After updating to the latest version of JDK, Eclipse no longer open because it was still looking for the old JDK version. In order to fix that, I need to tell Eclipse about the new JDK version, where this setting is stored in eclipse.ini.

1. Right-click on the Eclipse executable > Show Package Contents
2. Navigate into Contents/Eclipse
3. Open eclipse.ini
4. Update the line where it is referencing the JDK version, e.g.
/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/bin


Ref:
eclipse.ini - Eclipsepedia

No comments: