Skip to content
Advertisement

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

  • java version “14.0.1” 2020-04-14 Java (TM) SE Runtime Environment (build 14.0.1+7) Java Hotspot (TM) 64-Bit Server VM (build 14.0.1+7, mixed mode, sharing)
  • javac version javac 14.0.1

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

  • “to open eclipse you need to install the legacy Java SE 6 runtime” So I click “more info” and I try to install the legacy java SE 6 runtime

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

Advertisement

Answer

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/

Advertisement