Tuesday, October 8, 2013

How to launch eclipse with a specific jdk on mac os

Edit /Eclipse.app/Contents/MacOS/eclipse.ini. Add the following before -vmargs:
-vm 
/path/to/java/home
The linebreak after -vm matters! To find out the path to java home run
/usr/libexec/java_home
or 
/usr/libexec/java_home -v 1.7

No comments:

Post a Comment