ADDITIONAL SYSTEM INFORMATION :
Platform and architecture (e.g. Linux/x64: Mac OS
Java version (from "java --version") e.g. 1.8.0_181, 11.0.4+11 etc.:
openjdk version "14.0.1" 2020-04-14
OpenJDK Runtime Environment AdoptOpenJDK (build 14.0.1+7)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14.0.1+7, mixed mode, sharing)
Variant e.g. HotSpot or OpenJ9:
Hotspot
A DESCRIPTION OF THE PROBLEM :
I am using JNA in my app on mac, creating the bundle image with jlink works, but trying to run the app fails due to the jna jar not being found, I can add it as an additional jar but then I would need to be abel to set the classpath of the app. passing a "-cp ..." as java-options does not work but by manually editing the cfg file and adding hte path to jar into app.classpath property everything works. However I am unable to see any way how to configure this property via jpackager cmd line param (see also https://github.com/AdoptOpenJDK/openjdk-support/issues/96#issuecomment-622563895)
FREQUENCY : always
Platform and architecture (e.g. Linux/x64: Mac OS
Java version (from "java --version") e.g. 1.8.0_181, 11.0.4+11 etc.:
openjdk version "14.0.1" 2020-04-14
OpenJDK Runtime Environment AdoptOpenJDK (build 14.0.1+7)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14.0.1+7, mixed mode, sharing)
Variant e.g. HotSpot or OpenJ9:
Hotspot
A DESCRIPTION OF THE PROBLEM :
I am using JNA in my app on mac, creating the bundle image with jlink works, but trying to run the app fails due to the jna jar not being found, I can add it as an additional jar but then I would need to be abel to set the classpath of the app. passing a "-cp ..." as java-options does not work but by manually editing the cfg file and adding hte path to jar into app.classpath property everything works. However I am unable to see any way how to configure this property via jpackager cmd line param (see also https://github.com/AdoptOpenJDK/openjdk-support/issues/96#issuecomment-622563895)
FREQUENCY : always