I\'m trying to get the new 1.7 JDK working with Eclipse (this is Oracle\'s official release).
I don\'t mean just pointing Eclipse to it so you can use it in projects
On a Mac above does not seem to work. For me with Eclipse KEPLER it worked by adding
-vm /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/
at the end of my eclipse.ini (without that linebreak)
This finally changed my Eclipse Installation Details > Configuration from
-vm /System/Library/Frameworks/JavaVM.framework
to
-vm /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib
This did not work with my Eclipse INDIGO installation.