Eclipse Mars 4.5 on MacOS - JVM issue

after installing eclipse 4.5 on MacOS Yosemite, I was always getting the following alert

The JVM shared library "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/../lib/server/libjvm.dylib"

does not contain the JNI_CreateJavaVM symbol.

it seems the -vm parameters is skipped from the eclipse.ini file so the only way I found to launch eclipse was using the following command line

/opt/apps/eclipse-4.5/Eclipse.app/Contents/MacOS/eclipse -vm /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/bin/java

(assuming Eclipse is installed in /opt/apps/eclipse-4.5/ and Java 8 (1.8.0.45) is installed)

Popular posts from this blog

Fixing "DerInputStream.getLength(): lengthTag=109, too big" in Android Studio

Simple Samba setup on Lubuntu

Solving: insufficient permissions for device: user in plugdev group; are your udev rules wrong