OSX Yosemite - JVM Shared library does not contain the JNI_CreateJavaVM symbol

48k Views Asked by At

Downloaded OS X Yosemite Beta 3 and I'm trying to run some eclipse based IDE's, namely Titanium Studio and Aptana Studio.

Running into this error message when I try to start the apps. Didn't work on boot, so I downloaded JDK 1.8.0_40, still no dice. It's looking in the proper location, the file exists and it's using the correct java version. Not sure what the issue is, any help would be appreciated.

6

There are 6 best solutions below

6
ChancePance On BEST ANSWER

Download the newest version of Java for OS X 2014-001 from Apple. http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US

I encountered the same error this morning and this was a quick and easy fix.

0
BlueFuzzyThing On

I ran into this problem as well. Apparently Aptana Studio is 32-bit, while the java I have installed is 64-bit.

I didn't want to revert to Java6 as the accepted answer suggested, so I solved it another way.

I downloaded a 64-bit version of Eclipse and installed the plugin version of Aptana Studio.

0
Stephen Henrie On

I was also experiencing this problem because I had a 64 bit JDK 1.7 installed (the standard Oracle version - not the Apple version indicated in the other answers) and had mistakenly downloaded a 32 bit version of Eclipse. Doh!!

I removed the 32 bit version and downloaded the 64 bit version of Eclipse and everything works great now.

0
Lucas Santos de Oliveira On

Open "/Applications/BonitaBPMCommunity-6.5.0/BonitaBPMCommunity.app/Contents/MacOS/BonitaBPMCommunity.ini"

Obtain the location of the JRE / JDK on your system by executing in a terminal:

/usr/libexec/java_home
Add 2 lines after adapting the ...jdk1.8.0... to your system as found out above

-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/bin/java
in between the following lines:

-clearPersistedState
-vmargs
1
lowitty On

I got this problem when I try to lunch AptanaStudio 3.1 on OSX yosemite. I google this problem for quite a lot and found that JDK1.8(64-bit) version just does not support the Aptana Studio(3.1), maybe also not working on some other IDE which based on the same skeleton of Eclipse.

The only solution I can came out is to install an older version of JDK, and I found that the link @ChancePance provide just worked for me.

Why I am answering this question is just to specify that it's OK to install this version of JDK(which is version 1.6.0_65, 64-bit when I download the package) alongside with the J2SE 1.8(provided by Oracle). So you don't have to worry about there is any conflicts while installing two version of JDK.

I need the JDK1.8 for some of the new features of the latest version of Oracle's J2SE. And I need Aptana Studio at the same time. I am quite worried about there might be some conflicts.

Below is what I have done on OSX Yosemite to solve the problem of AptanaStudio3.1:

  1. Download and install the package: JavaForOSX.
  2. Found the file "AptanaStidio3.ini", the file by default located under the the directory here: /Applications/Aptana Studio 3/AptanaStudio3.app/Contents/MacOS
  3. Add "-vm" argument to specify the java which will be used to lunch Aptana Studio. -vm /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java

Hope this will help you guys who got the same problem.

0
Sam On

Simply downloading the newest Java for OSX worked the charm. I clicked and downloaded the file from the link above -> http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US <