Reputation: 695
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
Upvotes: 5
Views: 9996
Reputation: 695
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.
Upvotes: 13