JNI_CreateJavaVM eclipse error on mac os x

I am using mac os x 10.8.2. I installed java 1.7 and then come back since I cannot send iphone applications via xcode. java 1.6 is now installed.

ysnky @ ~ $ java -version java version "1.6.0_37" Java (TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909) Java HotSpot (TM) 64-bit server VM (build 20.12-b01- 434, mixed mode) ysnky @ ~ $

but now I can not start eclipse. it does not open, it gives this warning and closes.

The JVM shared library "/System/Library/Frameworks/JavaVM.framework" does not contain the JNI_CreateJavaVM symbol.

I am really confused and cannot find a solution. I just want to run eclipse, that's all :( thanks.

+4
java eclipse macos
Jan 23 '13 at 14:09
source share
5 answers

You can download and install from the apple.It website is perfect for i

http://support.apple.com/kb/DL1572?viewlocale=en_US

+4
Feb 08 '14 at 22:17
source share

Update your Mac. Apple has provided a new Java update that addresses this issue.

+2
Apr 28 '13 at 3:59
source share

If you do not have the /System/Library/Frameworks/JavaVM.framework/Versions/Current file, run the following command

cd /System/Library/Frameworks/JavaVM.framework/Versions sudo ln -s /System/Library/Frameworks/JavaVM.framework/Versions/A Current

+1
May 27 '14 at 13:52
source share

I was able to solve this problem by uninstalling all previously installed versions of Java Java jdk beforehand. Instructions here:

http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jdk.html#uninstall

Then install the official Java JDK for Apple. For some reason, the Java download page on support.apple.com came back for me, but through a cached copy of the Google page I found a direct download link, which finally fixed this problem for me:

http://support.apple.com/downloads/DL1572/en_US/JavaForOSX2014-001.dmg

+1
Nov 08 '14 at 4:25
source share

You can download and install from the website apple.It works perfect for me on Mac 10.9.5

http://support.apple.com/kb/DL1572?viewlocale=en_US

0
Sep 19 '14 at 6:57
source share



All Articles