Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Indigo for OS X Mavericks launched with Java SE 7

I wanted to install eclipe Indigo SR2 on Mac OSX Mavericks and I got this message when I launched ./eclipse in Terminal :

Alert : Failed to create the Java Virtual Machine

And that in the Terminal:

JavaVM: Failed to load JVM: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bundle/Libraries/libserver.dylib
JavaVM FATAL: Failed to load the jvm library.

I have that on my System :

java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
like image 556
Murmeltier Avatar asked May 15 '14 17:05

Murmeltier


2 Answers

What I have done:

cd /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/
sudo mkdir bundle
cd bundle
sudo mkdir Libraries
ln -s /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/server/libjvm.dylib libserver.dylib

It works!

like image 187
Murmeltier Avatar answered Oct 21 '22 04:10

Murmeltier


What I've done:

cd /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/
sudo ln -s /Library/Java/Home/bundle bundle

It works!

like image 1
Hanan Gitliz Avatar answered Oct 21 '22 02:10

Hanan Gitliz