I have a mac and I recently installed Java 7 on it. However, my question is, how do I let Eclipse (Juno) know about this installation. I went to the preferences menu and selected Java > Installed JREs to get to this screen
I've clicking the add button but I'm not sure what I need to add:
I would have thought that I should add the .jdk file but it eclipse doesn't like that.