从OpenJDK Windows创建jre [英] Create jre from OpenJDK Windows

查看:1140
本文介绍了从OpenJDK Windows创建jre的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在从Oracle JDK / JRE切换到OpenJDK。现在我只发现了JDK,但我想从OpenJDK获得一个JRE。这是为了在客户端上安装我们的应用程序而不需要完整的JDK。

We are switching from Oracle JDK/JRE to OpenJDK. Now I found only the JDK but I want to have a JRE as well from OpenJDK. This is for installing our application on the clients without the need of having the full JDK.

有没有办法从OpenJDK for Windows X64创建一个JRE包?

Is there a way to create a JRE package from the OpenJDK for Windows X64?

推荐答案

根据构建OpenJDK 文档 1

Windows XP不是受支持的平台,但所有较新的Windows都应该能够构建OpenJDK。

Windows XP is not a supported platform, but all newer Windows should be able to build OpenJDK.

然后继续解释Cygwin需要进行构建,本机编译器和库的要求,以及在源代码树中编译Java类所需的bootstrapJDK问题。

It then goes on to explain that Cygwin is required to do the build, the requirements for native compilers and libraries, and the issue of the "bootstrap" JDK that is required to compile the Java classes in the source tree.

但明确的含义是你可以在 Windows上构建OpenJDK ,在 Windows上构建 ......即使最终结果是< o或Oracle不支持他是OpenJDK项目。

But the clear implication is that you can build OpenJDK on Windows and for Windows ... even though the end result is not supported by Oracle or the OpenJDK project.

请注意,构建文档描述了用于创建JRE和JDKimages的make目标。我认为这些是二进制树,可以复制到目标系统并使用。您可以从它们创建ZIP ...

Note that the build document describes the make targets for creating JRE and JDK "images". I think it is saying that these are binary trees that can be copied to a target system and used. You could create ZIPs from them ...

1 - 该链接适用于Java 9版本的文献。对于其他人,您应该能够在源树中的相同位置找到相应的building.html文档。

这篇关于从OpenJDK Windows创建jre的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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