简体   繁体   中英

MacOS Big Sur 11.1 can't launch eclipse installer

I updated my MacOS to Big Sur 11.1 and I tried to download Eclipse IDE for Java Developers, and when I try to run the Eclipse Installer, it keep spinning at the Mac dock and nothing happens at all. The launcher doesn't move forward with the process like this:

在此处输入图像描述

I have Java installed and I checked the version like this:

$ /usr/bin/java -version 
java version "15.0.2" 2021-01-19
Java(TM) SE Runtime Environment (build 15.0.2+7-27)
Java HotSpot(TM) 64-Bit Server VM (build 15.0.2+7-27, mixed mode, sharing)

I follow this link to setup Java directory home

Then, I updated the JAVA_HOME using the below commands:

$ vi ~/.bash_profile
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-15.0.2.jdk/Contents/Home

Then, in a new terminal window and test the variable is setup like this:

$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk-15.0.2.jdk/Contents/Hom

And I still have issues to run Eclipse Installer, so I found these links ( link1 , link2 ) explaining how I should edit the eclipse.ini file and info.plist file in the Contents folder in Eclipse.app as it is shown in the pictures:

在此处输入图像描述

This is the line in eclipse.ini:

-vm
/Library/Java/JavaVirtualMachines/jdk-15.0.2.jdk/Contents/Home/bin/Java

在此处输入图像描述

In the info.plist, I added this under Eclipse, array as it shown:

<key>Eclipse</key>

    <array>
        <string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk-15.0.2.jdk/Contents/Home/bin/Java</string>

在此处输入图像描述

And still the Eclipse installer doesn't work, I contacted apple support and they said that the problem is need to be take care of from the Eclipse side and they can't do anything about it..

Does anyone has any idea how to avoid this problem or fix the issue I have.. I tried multiple times to remove java and install it again and I still facing the same problem.

Also I tired this command using Homebrew but I keep getting this error Message you see in the picture:

brew cask install eclipse-java

在此处输入图像描述

I'm really in need for help, and I spent more than 10 days to figure out what the issue is and I'm very frustrated, and I need to install this Eclipse in particular for school.

Thank you!

It works, and what I did is I shutdown my Mac and then I pressed on Option + Control + Shift buttons for 7 seconds, and I kept pressing on these 3 buttons and I pressed on the power button with them for another 10 seconds. After this the mac will start running. Go again and shutdown the system again and repeat the same thing with the Option +Control + Shift for 7 seconds, and the power button again with them for another 10 seconds. Then I run the Eclipse and it worked,! I got the instructions from Apple support and I hope if someone faced the same issue , can benefit from my post!

Thank you everyone for trying to help.

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