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!