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

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

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