Running Eclipse Luna using Oracle Java 8 on Mavericks [closed]
I am trying to run Eclipse Luna using Oracle Java JRE 1.8.0_11 on Mac OS X 10.9.4. I have added the following line to my eclipse.ini
file:
-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.
JRE is Java Runtime Environment which is used for running java applications. But if you want to develop Java applications and do Java programming, you need JDK i.e. Java Development Kit.
To know more see the following question
https://stackoverflow.com/questions/1906445/what-is-the-difference-between-jdk-and-jre