Eclipse won't launch for macOS Sierra

I have a new MacBook 2016 with the latest macOS Sierra and I am trying to install Eclipse Luna to build one of our legacy apps.

On my personal 2013 Macbook running OS X Yosemite 10.10.5, I was able to just download tar eclipse and unzip it, open the eclipse folder, click on Eclipse.app and it started fine.

However, on my work laptop, I downloaded the same eclipse tar and unpacked it, but when I run Eclipse.app I immediately get the error "Eclipse exits unexpectedly"

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

I have never encountered this before and cannot find any good links for this issue on the internet.

Does anyone know what could be causing this?

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

+3


source to share


1 answer


Found a solution on the Eclipse forums.

Sometimes with eclipse you need to unpack tar files directly to your Applications folder in order to install it correctly. Simply dragging / dropping the eclipse folder into your applications directly won't work at times.

After launch:



tar -xf *.tar --directory /Applications

      

Eclipse is installed and will start correctly.

+9


source







All Articles