install4j:如何在version8上创建跨平台jre包? [英] install4j: how to create cross platform jre bundle on version8?

查看:68
本文介绍了install4j:如何在version8上创建跨平台jre包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在测试版本8,并试图找出jre包.我想我已经在Windows上为java8成功创建了一个jre包.但是,对于Mac版本,我该怎么做,因为我的Windows构建计算机上没有可引用的Mac jre.

I am testing version 8 and trying to figure out jre bundles. I think I have successfully created a jre bundle for java8 on Windows. However, how do I do that for the Mac version since I don't have a Mac jre on my Windows build machine that can be referenced.

我是否必须要在Mac上生成jre软件包?如果是这样,那似乎与跨平台构建的概念背道而驰.

Do I have to go to a Mac to generate the jre bundle? If so, that would seem to be counter to the notion of cross platform builds.

在版本7中可下载的基本jre软件包发生了什么?让每个install4j用户重新生成它们似乎并不向前.

What happened to the basic jre bundles that were downloadable in version 7? Having every install4j user regenerate them does not seem like a step forward.

推荐答案

JRE捆绑包的生成是跨平台的.您可以在Windows上生成macOS JRE捆绑软件.

The JRE bundle generation is cross platform. You can generate macOS JRE bundle on Windows.

在版本7中可下载的基本jre软件包发生了什么?

What happened to the basic jre bundles that were downloadable in version 7?

已停产.新一代捆绑软件是Java 9+功能所必需的,并且它提供了更多的JDK提供程序.

They have been discontinued. The new bundle generation is necessary for Java 9+ features and it offers a much wider variety of JDK providers.

让每个install4j用户重新生成它们似乎不是向前迈出的一步.

Having every install4j user regenerate them does not seem like a step forward.

它们是根据您的项目定义自动生成的,实际上所涉及的手动工作少于install4j7.只需在常规设置-> JRE软件包"步骤和每个新的构建机器上指定JDK提供程序和发行版即可.将生成并缓存捆绑包.

They are generated automatically based on your project definition, there is actually less manual work involved than in install4j 7. You just specify the JDK provider and the release on the "General settings->JRE bundles" step and each new build machine will generate and cache the bundles.

这篇关于install4j:如何在version8上创建跨平台jre包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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