What house JRE to install in Eclipse for JDK7u4 on Mac OS X?

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

+6
source share
2 answers

See Oracles JDK Release Notes

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

Please note that you will need to enter it, since an open dialog finds the OSX package in the / Library / Java / JavaVirtualMachines / 1.7.0.jdk / folder and will not view it

+6
source

To see it? http://code.google.com/p/openjdk-osx-build/wiki/EclipseWithOpenJDK

The main directory will be: /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/

+2
source

Source: https://habr.com/ru/post/914374/


All Articles