-vm /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
Eclipse seems to have picked this up, but now I get the following message when starting it:
The JVM shared library "/Library/Internet Plug-Ins/ JavaAppletPlugin.plugin/Contents/Home/bin/../lib/server/libjvm.dylib" does not contain the JNI_CreateJavaVM symbol.
I have made sure that both Eclipse and Java are 64 bit versions, and do not know what else could cause this problem. Can anyone propose a fix for this?
Edit: It seems to work when using the JDK instead of just the JRE, but I still would like to know why.