Re: jpackage issue with --dest

2021-06-17 Thread Alexey Semenyuk
Thanks. I'll look into it. - Alexey On 6/17/2021 2:01 PM, Maurizio Cimadamore wrote: Filed this: https://bugs.openjdk.java.net/browse/JDK-8268974 Maurizio On 17/06/2021 18:52, Alexey Semenyuk wrote: Seems like a new issue. Please file a bug in Jira. - Alexey On 6/16/2021 5:14 PM,

Re: jpackage issue with --dest

2021-06-17 Thread Maurizio Cimadamore
Filed this: https://bugs.openjdk.java.net/browse/JDK-8268974 Maurizio On 17/06/2021 18:52, Alexey Semenyuk wrote: Seems like a new issue. Please file a bug in Jira. - Alexey On 6/16/2021 5:14 PM, Maurizio Cimadamore wrote: Also, if --dest is removed, or if it is set to something which

Re: jpackage issue with --dest

2021-06-17 Thread Alexey Semenyuk
Seems like a new issue. Please file a bug in Jira. - Alexey On 6/16/2021 5:14 PM, Maurizio Cimadamore wrote: Also, if --dest is removed, or if it is set to something which doesn't contain the "bin" subfolder, everything works... that seems different from the issue you linked? Maurizio On

Re: jpackage issue with --dest

2021-06-16 Thread Maurizio Cimadamore
Also, if --dest is removed, or if it is set to something which doesn't contain the "bin" subfolder, everything works... that seems different from the issue you linked? Maurizio On 16/06/2021 22:11, Maurizio Cimadamore wrote: Hi, I've built my JDK this morning. I checked now with `git log`

Re: jpackage issue with --dest

2021-06-16 Thread Maurizio Cimadamore
Hi, I've built my JDK this morning. I checked now with `git log` and I do have: https://bugs.openjdk.java.net/browse/JDK-8267598 Maurizio On 16/06/2021 21:12, Alexey Semenyuk wrote: Hi Maurizio, Thank you for the provided output. According to the log, app launcher loaded libjli.so and it

Re: jpackage issue with --dest

2021-06-16 Thread Alexey Semenyuk
Hi Maurizio, Thank you for the provided output. According to the log, app launcher loaded libjli.so and it failed in JLI_Launch() function. Probably the problem is that you use jpackage from the build that has https://bugs.openjdk.java.net/browse/JDK-8263157 fix that resulted in a number of

Re: jpackage issue with --dest

2021-06-16 Thread Maurizio Cimadamore
This is what I get when I run jpackage: ``` $ jpackage --type app-image --name HelloWorld --input /home/maurizio/Desktop/panama-test/jpackage-test/out/artifacts/jpackage_test_jar --main-jar jpackage-test.jar --dest bin [18:50:09.375] jpackage argument list: [--type, app-image, --name,

Re: jpackage issue with --dest

2021-06-16 Thread Alexey Semenyuk
Hi Maurizio, This is not known issue. Can you run the app with "JPACKAGE_DEBUG" env variable set to "true". In this case the app launcher will produce debug output that will help to understand why it can't find libjava.so. - Alexey On 6/16/2021 9:11 AM, Maurizio Cimadamore wrote: Hi, I'm

jpackage issue with --dest

2021-06-16 Thread Maurizio Cimadamore
Hi, I'm relatively new to jpackage and I found a weird issue on linux where the name of a --dest folder can affect the correct behavior of the generated application image. I have put together an hello world application, with a jarfile. If I jpackage it with the following command line: ```