简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM