Java 下载适用于 MAC High Sierra 的 Legacy JVM 版本 1.8

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/47444326/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-12 02:36:19  来源:igfitidea点击:

Download Legacy JVM Version 1.8 for MAC High Sierra

javaeclipsemacosjvm

提问by Jsp

I am trying to run Eclipse to develop Android apps. When I first opened Eclipse it provided a link to install legacy JVM from apple.com, after that was installed I am getting this error message Version 1.6.0_65 of the JVM is not suitable for this product. Version: 1.8 or greater is required

我正在尝试运行 Eclipse 来开发 Android 应用程序。当我第一次打开 Eclipse 时,它​​提供了一个从 apple.com 安装旧版 JVM 的链接,安装后我收到此错误消息 Version 1.6.0_65 of the JVM is not suitable for this product. Version: 1.8 or greater is required

I installed the newer version (8u151) from java.com but that didn't help. I found the following link to download version 1.8 but that page has only the latest versions: http://www.oracle.com/technetwork/pt/java/javase/downloads/jdk8-downloads-2133151.html

我从 java.com 安装了较新的版本 (8u151),但这没有帮助。我找到了以下下载 1.8 版的链接,但该页面只有最新版本:http: //www.oracle.com/technetwork/pt/java/javase/downloads/jdk8-downloads-2133151.html

Anyone figured out how to install Eclipse on Mac High Sierra?

有人知道如何在 Mac High Sierra 上安装 Eclipse 吗?

采纳答案by Jsp

I was able to get Eclipse work by installing the full Java SE Development Kit 8u151 from http://www.oracle.com/technetwork/pt/java/javase/downloads/jdk8-downloads-2133151.html

通过从http://www.oracle.com/technetwork/pt/java/javase/downloads/jdk8-downloads-2133151.html安装完整的 Java SE 开发工具包 8u151,我能够让 Eclipse 工作

java.com download or Apple's legacy JVM download did not work for Eclipse installation.

java.com 下载或 Apple 的旧版 JVM 下载不适用于 Eclipse 安装。

回答by James Bucanek

The last time this kind of thing bit me I was inadvertently installing the run-time Java (which is what Apple usually provides a link to) on my server, not the full Java SDK (which has the compilers and stuff you need to do developmentn).

上次这种事情让我不小心在我的服务器上安装了运行时 Java(这是 Apple 通常提供的链接),而不是完整的 Java SDK(其中包含编译器和开发所需的东西) )。

I usually hunt for the full Java SE Development Kit at http://www.oracle.com/technetwork/java/javase/downloads/.

我通常在http://www.oracle.com/technetwork/java/javase/downloads/寻找完整的 Java SE 开发工具包。

Scroll down until you see Download the Java SE Development Kithttp://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-142931.html

向下滚动直到看到下载 Java SE 开发工具包http://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-142931.html