jpackage Packaging Tool EA Build Question

Andrew Auclair Andrew.Auclair at G2TCG.COM
Mon Jan 7 15:47:03 UTC 2019


Hi,

We are currently using JDK 10 with javapackager and have looked at the Early Access build available for the jpackage enhancement. We have a question about an issue we are currently experiencing with javapackager, which appears to have the same behavior in jpackage.

Background:

In our install we have several 32 bit C++ applications, some 64 bit C++ applications and 64 bit JDK 10 Java applications. The 64 bit C++ and Java applications both use a set of C++ DLLs. This has forced us to place the 64 bit C++ applications in the app folder that the javapackager creates. Jpackage appears to create the same app folder.

Our folder structure is outlined below. The executable generated by javapackager appears to be hardcoded to use the app/*.cfg files. We would like the ability to place the contents of the app folder directly in our bin64 folder along with the exe and ico that are generated.

Install / bin64 / app / native64.dll
Install / bin64 / app / cpp64bitapp.exe
Install / bin64 / app / javaapp.jar
Install / bin64 / app / javaapp.cfg
Install / bin64 / javaapp.exe
Install / bin64 / runtime <-- JRE 10 runtime
Install / native.dll
Install / cpp32bitapp.exe

Question:
Is it possible for us to rename or change the app folder, or to place the contents of the app folder in the parent directory?



Thank you for taking the time to read this, any response is greatly appreciated,



Andrew Auclair

Software Engineer

Tactical Communications Group, LLC

2 Highwood Drive, Building 2, Suite 200

Tewksbury, MA 01876-1157

978-654-4849



More information about the core-libs-dev mailing list