I am trying to get the new 1.7 JDK working with Eclipse (this is the official release of Oracle).
I donβt want to just point Eclipse to it so that you can use it in projects, this works great, but actually makes Eclipse work using the 1.7 JVM.
I moved the new JVM to the top of the list in Java Preferences, but Eclipse still starts with 1.6. If I disable 1.6 in the Java settings, I get a dialog right after I double-clicked Eclipse, saying "Failed to create Java virtual machine."
edit: I added the following to my eclipse.ini just before -vmargs:
-vm /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java
In the details dialog for installing Eclipse, I still see:
java.runtime.version=1.6.0_31-b04-415-11M3646
edit 2: here is the contents of my eclipse.ini file: https://gist.github.com/2512578
java eclipse macos
sanity Apr 27 2018-12-12T00: 00Z
source share