Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Install JDK 8 (not JRE 8) to run Eclipse Mars on OS X Mavericks
Install JDK 8 (not JRE 8) to run Eclipse Mars on OS X Mavericks [message #1702070] Sat, 18 July 2015 17:30 Go to next message
steve ling is currently offline steve lingFriend
Messages: 1
Registered: July 2015
Junior Member
The instructions are not clear that you need to update the Java JDK (not the JRE) to run Eclipse on OS X. In addition, there are many suggestions online to edit Eclipse.ini and Info.plist inside Eclipse.app that appear to be unnecessary with Mars 4.5.0.

Possibly this will save someone a few minutes to get Eclipse running on OS X:

1 - Download the OS X version of Eclipse. I used "Eclipse IDE for C/C++ Developers" (based on Mars 4.5.0) from here (I removed the link due to warning "You can only use links to eclipse.org sites while you have fewer than 5 messages")

2 - Unzip and copy Eclipse.app to Applications.

If you run Eclipse now you will get the error similar to "Version 1.6.0_65 of the JVM is not suitable for this product. Version 1.7 or greater is required."

I wasted quite a bit of time here installing Java JRE 8 and editing Eclipse.ini and Info.plist.

3 - Download and install Java JDK 8 (not JRE 8). Here is a link, or do a search for JDK 8.
(I removed the link due to warning "You can only use links to eclipse.org sites while you have fewer than 5 messages")

4 - Run command below in a terminal to verify JDK installed correctly. You may not have the older JVMs, but need to see 1.8 is there.

$ /usr/libexec/java_home --verbose
Matching Java Virtual Machines (3):
1.8.0_51, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home
1.6.0_65-b14-462, x86_64: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
1.6.0_65-b14-462, i386: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

/Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home

That's it. Eclipse should run now. No need to edit Eclipse.ini or Info.plist.
Re: Install JDK 8 (not JRE 8) to run Eclipse Mars on OS X Mavericks [message #1702364 is a reply to message #1702070] Tue, 21 July 2015 19:54 Go to previous message
Henry Seng is currently offline Henry SengFriend
Messages: 1
Registered: July 2015
Junior Member
Thanks Steve, that worked for me.
Previous Topic:Eclypse 3.2 fails to start after Java update
Next Topic:How to hide JLayeredPane in Editor?
Goto Forum:
  


Current Time: Wed Sep 18 12:00:29 GMT 2019

Powered by FUDForum. Page generated in 0.03106 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top