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.
For the latest version (07) you can type in /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/
instead of using the directory… button