英文:
Mac OS Catalina "to open eclipse you need to install the legacy java se 6 runtime"
问题
问题: 尽管我成功在我的MacOS Catalina 10.15上安装了Java JDK Kit和Eclipse,但我无法启动Eclipse。我收到以下错误消息:
"要打开eclipse,您需要安装传统的Java SE 6运行时"
背景:
我开始学习Java编程。我想安装Java和Eclipse。在一个有帮助的YouTube教程的指导下,我成功安装了Java。我还设置了JAVA_HOME变量。终端确认我已经安装了
- java版本 "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版本javac 14.0.1
我还在我的MacBook上安装了Eclipse,观看了一个YouTube教程。
然而,Eclipse无法启动,显示错误消息。
"要打开eclipse,您需要安装传统的Java SE 6运行时"
我尝试了什么来解决问题:
消息如下
- "要打开eclipse,您需要安装传统的Java SE 6运行时"
所以我点击 "更多信息",然后尝试安装传统的Java SE 6运行时
当我到达目标选择时,我无法安装,我收到以下错误消息:
"Java for macOS 2017-001无法安装在此磁盘上。这个包的更新版本已经安装了"。
我可以做什么?我将需要让Eclipse正常运行,因为我的编程课程将在4天后开始。
英文:
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
答案1
得分: 1
你已安装了与您的Java不兼容的旧版本Eclipse。卸载它,并从https://www.eclipse.org/downloads/packages/安装最新版本。
英文:
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/
答案2
得分: 0
I had same problem.
我遇到了同样的问题。
I change my Air late 2013 with 10.13.6 to Pro Late 2019 with 10.15.7.
我将我的2013年末版Air系统从10.13.6升级到了2019年末版Pro系统,版本为10.15.7。
I had same message with my eclipse helio 3.6 after copying his folder in /Application from old to new Mac.
在将eclipse helio 3.6的文件夹从旧Mac复制到新Mac后,我遇到了相同的消息。
I fixed that only by getting the Jdk folder From MBA /Library/Java/JavaVirtualMachines/1.6.0.jdk/ to MBP /Library/Java/JavaVirtualMachines/
我只需将Jdk文件夹从MBA的/Library/Java/JavaVirtualMachines/1.6.0.jdk/复制到MBP的/Library/Java/JavaVirtualMachines/,问题就解决了。
I can launch Eclipse helio 3.6 and choose my new workspace location.
我可以启动Eclipse helio 3.6并选择我的新工作区位置。
The power of simplicity, i just fixed this night.
简单的方法就解决了,我刚刚在今晚解决了这个问题。
英文:
I had same problem.
I change my Air late 2013 with 10.13.6 to Pro Late 2019 with 10.15.7.
I had same message with my eclipse helio 3.6 after copying his folder in /Application from old to new Mac.
I fixed that only by getting the Jdk folder
From MBA /Library/Java/JavaVirtualMachines/1.6.0.jdk/ to MBP /Library/Java/JavaVirtualMachines/
I can launch Eclipse helio 3.6 and choose my new workspace location.
The power of simplicity, i just fixed this night.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论