1

How to get Eclipse running on OSX 10.9? I have tried some of the solutions mentioned in this thread to no avail: How do I run Eclipse using Oracle's new 1.7 JDK for the Mac?

  • editing eclipse.ini, adding in

vm /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java just before the -vmargs

Similar question to this thread: Mavericks and JVM Alert

I have the Oracle JDK 1.7: https://www.dropbox.com/s/jqe6pih8wiwzygk/Screenshot%202014-03-29%2000.16.52.png

It is, apparently, the only Java SDK installation: https://www.dropbox.com/s/ijf31d957u0qujy/Screenshot%202014-03-29%2000.17.14.png

I can run java and javac in the Terminal, have $JAVA_HOME set also: https://www.dropbox.com/s/kzt2oaelkz1vq4o/Screenshot%202014-03-29%2000.21.09.png

This is the error i am getting: https://www.dropbox.com/s/sfv51e5s7m8lhi9/Screenshot%202014-03-29%2000.17.38.png

I am on a Macbook Pro mid 2010 model running Mavericks 10.9.2 and trying to get the mentioned Eclipse versions running, which somehow is being made practically impossible. How to unfrak this clusterfrak?

Community
  • 1
  • 1
Michahell
  • 4,905
  • 5
  • 29
  • 45
  • The error message is pointing to an openJDK install not the Oracle install. The `eclipse.ini` entry must have `-vm` on a separate line from the path. – greg-449 Mar 29 '14 at 07:50
  • Arch, i did not know that was another JDK even. thanks, @greg-449 – Michahell Mar 29 '14 at 10:35
  • I downloaded the Oracle JAVA JDK 8, Eclipse Luna and it works out of the box. Please create an answer, so i can accept it as one. – Michahell Mar 29 '14 at 11:07

1 Answers1

1

The error message is pointing to an openJDK install not the Oracle install.

The eclipse.ini entry must have -vm on a separate line from the path

-vm 
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java

although if the correct Java is the default it should not be necessary.

greg-449
  • 109,219
  • 232
  • 102
  • 145