Skip to content

How to copy jre executables to runtime bundled jre? #125

@gabrielpaim

Description

@gabrielpaim

Hi there,

I want to package a self contained java 8 application for windows/osx, but with a particular request: the executables from JRE (e.g., java.exe) should be bundled together with the runtime folder.

I don't know if this could be done with this tool, as the JavaPackager utility (and also the deploy task of the AntBuilder) strips by default the executable from the bundled jre. The JavaPackager from jdk10 has an opened parameter for this - called "strip-native-commands", but I think jdk10 packager doesn't allow one to package a java8 application. At least it's clearly stated that one should use jdk8 packager to package java 8 or 7 apps.

Maybe this could not be done with this plugin, as it seems it's more a oracle's issue, but maybe some of you have already experienced such situation. @FibreFoX maybe you too, with your several hacks workarounds, have any idea about that :)

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions