Using the jpackager

Sverre Moe sverre.moe at gmail.com
Fri Nov 9 21:34:30 UTC 2018


Den fre. 9. nov. 2018 kl. 16:22 skrev Rachel Greenham <rachel at merus.eu>:

> Build the JRE needed using JLink, supplying the needed modules. The
> JLink task referenced is actually written in Java and wraps
> ToolProvider, but it's pretty trivial and could almost-more-easily be
> done with an Exec. NB: The JLink task as written puts it in a "java"
> subdirectory of the given destinationDir.
>
>      task buildAdminJre(type: JLink) {
>          description 'Build the Client JRE for ' + nativeOsName
>          destinationDir
> rootProject.file("deploy/bindist/"+requiredJava.merusNativeAdminJreName)
>          modules = [
>              'java.base',
>              'java.desktop',
>              'java.xml',
>              'java.logging'
>          ]
>          bindServices false
>          modulePath =
> [System.properties.getProperty('java.home')+File.separatorChar+'jmods']
>          noHeaderFiles true
>          noManPages true
>          stripDebug true
>      }
>
>
> Which gradle plugin are you using that gives you type JLink?


More information about the openjfx-dev mailing list