install4j: how to create cross platform jre bundle on version8?

自古美人都是妖i 提交于 2021-02-11 06:27:51

问题


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.

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.

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.


回答1:


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

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

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

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

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.



来源:https://stackoverflow.com/questions/57795843/install4j-how-to-create-cross-platform-jre-bundle-on-version8

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!