javaeclipseruntimemacos-catalinalegacy

Mac OS Catalina "to open eclipse you need to install the legacy java se 6 runtime"


PROBLEM : Although I successfully installed Java JDK Kit and Eclipse on my MacOS Catalina 10.15, I cannot launch Eclipse. I get this error message:

"To open eclipse you need to install the legacy java se 6 runtime"

BACKGROUND : I am starting to learn java programming. I wanted to install java and eclipse. Following a helpful youtube tutorial, I successfully installed java. I also set up the JAVA_HOME variable. Terminal confirms that I have installed

I also installed eclipse on my macbook watching a youtube tutorial.

However, Eclipse doesn't launch showing the error message. "to open eclipse you need to install the legacy java se 6 runtime"

WHAT I TRIED TO TROUBLE SHOOT:

Message comes as

When I come to the destination select I can't install, I get the following error:

"Java for macOS 2017-001 can't be installed on this disk. A newer version of this package is already installed".

What can I do? I will need Eclipse up and running for my coding course that will start 4 days later


Solution

  • You have installed an old version of Eclipse which is not compatible with your Java. Uninstall it and install the latest version from https://www.eclipse.org/downloads/packages/