What JRE home to set in Eclipse for JDK7u4 on Mac OS X?

11,232

Solution 1

See Oracles's JDK release notes

In the "JRE Home:" field, type "/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home"

Note you will have to type it as the open dialog finds a OSX bundle at "/Library/Java/JavaVirtualMachines/1.7.0.jdk/ and will not browse into it

Solution 2

See this? http://code.google.com/p/openjdk-osx-build/wiki/EclipseWithOpenJDK

Home dir would be: /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/

Share:
11,232
Jonas
Author by

Jonas

Passionated Software Developer interested in Distributed Systems

Updated on July 13, 2022

Comments

  • Jonas
    Jonas almost 2 years

    I downloaded JDK7u4 for Mac OS X, and installed it. Now I would like to setup Eclipse to use this JDK. In Preferences > Java > Installed JREs what location should I set for JRE home? I installed it on the default location.