jpackage producing non-working binaries on Windows

Tom Anderson twic at urchin.earth.li
Thu May 2 11:14:51 UTC 2019


Hi Alexey,

Here is a demo project:

https://github.com/tomwhoiscontrary/jpackage-demo

If i run this on Windows (Windows 10 in a VM), it produces this output:

https://gist.github.com/tomwhoiscontrary/ee33dda3c124d8a67bd5bba5b8d5e32d

Which includes the following command line:

[create-app-image, --name, demo, --input, 
C:\Users\IEUser\Downloads\jpackage-demo-master\jpackage-demo-master\build\libs, 
--output, 
C:\Users\IEUser\Downloads\jpackage-demo-master\jpackage-demo-master\build/app-image, 
--main-jar, jpackage-demo.jar]

I should note that i am running the build using JDK 11, then using the 
early access JDK 13 only to run jpackage at the end.

Regards,
tom

On Wed, 1 May 2019, Alexey Semenyuk wrote:

> Hi Tom,
>
> What is your jpackage command line? Could you please rerun it with 
> JPACKAGE_DEBUG environment variable set to "true".
>
> - Alexey
>
> On 4/30/2019 11:15 AM, Tom Anderson wrote:
>> Hello,
>> 
>> I am trying out the early-access jpackage tool. It works perfectly on 
>> Linux, but on Windows produces a binary which does not do anything when 
>> run.
>> 
>> I would like to either fix any error i have made, or help you identify a 
>> bug, if there is one!
>> 
>> Is this the right place to come with this problem? If not, where should i 
>> go? Is there a list of known issues other than on the download page [1]? 
>> What debugging steps should i try? Would a self-contained example be 
>> helpful to you? What other information would you like?
>> 
>> Regards,
>> tom
>> 
>> [1] https://jdk.java.net/jpackage/

-- 
A weed is just a plant that's in the wrong place. -- Jane Anderson


More information about the core-libs-dev mailing list