How to add Java 7 JRE to Eclipse on my Mac?

I have a mac and I recently installed Java 7 on it. However, my question is: how can I tell Eclipse (Juno) about this installation. I went to the settings menu and selected Java> Installed JREs to go to this screen

enter image description here

I click the Add button, but I'm not sure what I need to add:

enter image description here

I would have thought that I should add a .jdk file, but he doesn't like eclipse.

+4
source share
1 answer

For the latest version (07) you can enter / Library / Java / JavaVirtualMachines / jdk 1.7.0_07.jdk / Contents / Home / instead of using the directory ... button

+11
source

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


All Articles