I am trying to install Eclipse (2018-12) on Mac but I get a popup as attached. I have installed Java 8 using sdkman located at home//.sdkman/candidates/java/8.0.292.j9-adpt
I tried installing java 6 as well but that didn't help much.
I am trying to install Eclipse (2018-12) on Mac but I get a popup as attached. I have installed Java 8 using sdkman located at home//.sdkman/candidates/java/8.0.292.j9-adpt
I tried installing java 6 as well but that didn't help much.
Maybe missing JAVA_HOME variable? http://www.sajeconsultants.com/how-to-set-java_home-on-mac-os-x/ Or you have to add your JDK to PATH? How to set JAVA_HOME in Mac permanently?
Bear in mind that
A Java 8 or newer JRE/JDK is required to run all Eclipse 2018-12 packages based on Eclipse 4.10, including running the Installer. The reasoning behind requiring Java 8 are discussed here
so definitely your eclipse will not work with Java 6.
I have found under the link some information about required JDK 64 bit for macos version of Eclipse https://wiki.eclipse.org/Eclipse/Installation
The latest release of Eclipse requires a 64-bit JVM, and does not support a 32-bit JVM.
If you are using Eclipse to do Java development, or are on macOS, install a JDK. In all cases, Eclipse requires a 64-bit JVM A Java Development Kit (JDK) includes many useful extras for Java developers including the source code for the standard Java libraries.
Please check if your java is 64bit JDK.
I upgraded my Mac to Big Sur, but still there was this problem. The problem was fixed by installing Eclipse Installer and then using that to install Eclipse.