Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse not launching for MacOS Sierra

I have brand new 2016 MacBook running the latest MacOS Sierra and I'm trying to install Eclipse Luna for building one of our Legacy Applications.

On my personal 2013 Macbook running OS X Yosemite 10.10.5 I was able to simply download the eclipse tar and unpackaged it, open the eclipse folder, click the Eclipse.app and it launched perfectly.

However, on my work laptop, I have downloaded the exact same eclipse tar and unpacked it, but when I launch Eclipse.app I immediately get an error saying "Eclipse has quit unexpectedly"

If I open the package contents of Eclipse.app and go to Eclipse.app/Contents/MacOS/ and run the eclipse.exe located there, then it will open a terminal window and launch Eclipse normally.

I have never encountered this before and cannot find any good references to this issue online.

Is anyone aware of what the cause might be?

I have JDK 6 and 8 installed at /Library/Java/JavaVirtualMachines/ 1.6.0.jkd & jdk1.8.0_121.jdk

like image 841
Cody Pritchard Avatar asked May 18 '17 02:05

Cody Pritchard


People also ask

Why can't I open Eclipse on Mac?

If your java version is below 1.8, you will have to update your Java Runtime Environment to at least 1.8. 0 by installing an updated JDK here. Then re-run the java version command and your version should be updated. You should now be able to install and run Eclipse.

Why is my Eclipse IDE not opening?

If you've "installed" Eclipse but are having trouble getting it to run, the most likely cause is that you have not correctly specified the JVM for it to run under. You may need to edit the eclipse. ini file. Another common mistake on Microsoft Windows is a mismatch between the "bittedness" of Eclipse and the JVM/JDK.

Is Eclipse compatible with Mac?

Start the Eclipse Installer executable If the Eclipse Foundation is the Publisher, you are good to select Run. For Mac and Linux users, you will still need to unzip the download to create the Installer. Start the Installer once it is available.


1 Answers

Found the solution on Eclipse forums.

Sometimes with eclipse you have to un-package the tar files directly into your Applications folder in order for it install properly. Simply dragging/copying the eclipse folder into your Applications directly will not work from time to time.

After running:

tar -xf *.tar --directory /Applications

Eclipse installed and would launch properly.

like image 99
Cody Pritchard Avatar answered Oct 30 '22 21:10

Cody Pritchard