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
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With