Found it also not working after download and installation. Using the directory didn't work either for me. This helped finally:
sudo cp /Library/Java/JavaVirtualMachines/1.6.0_22-b04-307.jdk/Contents/Home/src.jar /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/
and the linked it through eclipse!