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:

/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/
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.

closed as off-topic by bmike Jan 5 '15 at 14:39

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about software development are off-topic here, but can be asked on Stack Overflow." – bmike
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Oracle's use of JRE is confusing what you have is the plugin for a browser and not the full old JRE so for Eclipse you need the JDK - actually the JRE might be enough but it is in /Library/Java/JavaVirtualMachines/ – Mark Aug 1 '14 at 17:24
  • Actually, when just installing the JRE, the directory /Library/Java/JavaVirtualMachines remains empty. The strange thing is that apparently all the required files are there, but for some reason it just doesn't work. – Björn Pollex Aug 1 '14 at 20:09

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


  • You can run eclipse from the ire but to develop java with eclipse you need the JDK – Mark Aug 1 '14 at 18:18
  • I know that, I do not plan on using Eclipse for developing Java, I just need to run it. – Björn Pollex Aug 1 '14 at 20:09
  • @BjörnPollex Eclipse will not run without JDK on any platform either it's a Mac, PC or Linux. To run Eclipse, you MUST have JDK installed in your system. – Pratik Aug 4 '14 at 5:50
  • 1
    @PratikaRana note the definition of JRE in the link you give is not what Oracle now says the OSX JRE download is - and to run Eclipse a prier JRE will work - but OSx's is not so we need the JDK to run – Mark Sep 15 '14 at 23:56
  • @Mark, would you care to write a full answer with that information, so I can give you some points for it? This question seems to attract quite a few views, so that might be helpful. – Björn Pollex Oct 10 '14 at 9:33

I had the exact same problem. Uninstalling Eclipse and the JRE, and then installing the JDK and re-installing Eclipse worked for me.

Not the answer you're looking for? Browse other questions tagged .