由于没有可供下载的JRE 11,我如何才能使Java 11运行时环境正常工作? [英] How can I get Java 11 run-time environment working since there is no more JRE 11 for download?

查看:67
本文介绍了由于没有可供下载的JRE 11,我如何才能使Java 11运行时环境正常工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

与过去的Java版本不同,Java 11没有JRE可供下载.我收到一个错误无Java运行时环境";运行某些基于Java的软件时.要解决此问题,我必须安装Java 8 JRE.

Java 11 does not come with a JRE for download, unlike past Java versions. I got an error "no java run-time environment" when running some Java-based software. To fix the problem, I had to install Java 8 JRE.

鉴于没有其他要下载的JRE 11,如何使我的PC运行Java 11 JRE?

How can I get my PC to run Java 11 JRE given that there is no more JRE 11 to download?

我正在使用Windows 10.

I am using Windows 10.

推荐答案

目前,似乎没有免费+简单的Oracle支持的Java 11 JRE(仅)选项.您的选择是:

Right now, there seem to be no free + easy Oracle-supported Java 11 JRE (only) options. Your options are:

  1. 从OpenJDK网站下载并使用OpenJDK Java 11 JDK.
  2. 从Oracle网站下载并使用Oracle Java 11 JDK ...并确保您完全了解对商业用途"的限制.现在适用于Oracle Java 11+发行版.
  3. 尝试从OpenJDK来源为Windows推出自己的Windows JRE;参见从OpenJDK Windows创建jre .
  4. 研究使用新的 jlink 工具创建自定义图像(基本上是简化的JRE)针对您的应用程序.这似乎是Oracle希望第三方应用程序开发人员使用的选择.
  5. 与Oracle销售人员讨论Java支持合同,并具体询问如何获得JRE构建. (我不知道答案是什么.如果有人尝试了这个,并且得到了肯定的答复,请发表评论!)
  6. 使用第三方Java JRE发行版. (供应商列表随时间而变化,但到目前为止,包括AdoptOpenJDK,Amazon,Azul,BellSoft,IBM,jClarity,Red Hat和SAP.其中一些提供JRE.)
  1. Download and use an OpenJDK Java 11 JDK from the OpenJDK site.
  2. Download and use an Oracle Java 11 JDK from the Oracle site ... and be sure that you fully understand the restrictions on "commercial use" that now apply to the Oracle Java 11+ releases.
  3. Try to roll your own Windows JRE for Windows from the OpenJDK sources; see Create jre from OpenJDK Windows.
  4. Look into using the new jlink tool to create a custom image (basically a cut-down JRE) for your application. This seems to be the option that Oracle want 3rd-party application developers to use.
  5. Talk to Oracle sales about a Java support contract, and specifically ask about how to get a JRE build. (I don't know what the answer will be. If someone does try this, and they get a positive response, please comment!)
  6. Use a 3rd-party Java JRE distribution. (The list of vendors changes over time, but as of now it includes AdoptOpenJDK, Amazon, Azul, BellSoft, IBM, jClarity, Red Hat and SAP. Some of them offer a JRE.)

(或从Windows切换到Linux.我可以通过发行版软件包管理器在最新版本的Ubuntu,Fedora等上安装OpenJDK Java 11 JRE软件包)

(Or switch from Windows to Linux. I can install an OpenJDK Java 11 JRE package from the distro package manager on the latest versions of Ubuntu, Fedora, ...)

对于那些认为Oracle Java 11和OpenJDK Java 11相同的人,请从Oracle下载站点阅读以下内容:

For those people who think that Oracle Java 11 and OpenJDK Java 11 are the same, please read the following from the Oracle download site:

Oracle JDK 11许可证中的重要更改

Important changes in Oracle JDK 11 License

使用JDK 11,Oracle更新了我们提供Oracle JDK的许可条款.新的针对Oracle Java SE的Oracle技术网络许可协议与以前的JDK版本所提供的许可有很大不同.在下载和使用此产品之前,请仔细阅读新条款.

With JDK 11 Oracle has updated the license terms on which we offer the Oracle JDK. The new Oracle Technology Network License Agreement for Oracle Java SE is substantially different from the licenses under which previous versions of the JDK were offered. Please review the new terms carefully before downloading and using this product.

Oracle还在jdk.java上的 GPL许可证中提供了该软件. net/11

Oracle also offers this software under the GPL License on jdk.java.net/11

注意 Oracle 表示Oracle Java和OpenJDK Java的许可证不同. (尽管这两者是从实质上相同的源代码库构建的.)请忽略此事,后果自负!

Notice that Oracle are saying that the licenses for Oracle Java and OpenJDK Java are different. (Not withstanding that the two are built from essentially the same source code base.) Ignore this at your peril!

这篇关于由于没有可供下载的JRE 11,我如何才能使Java 11运行时环境正常工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆