Fwd: JDK-17 jpackage: error when using --add-launcher with --runtime-image

2022-03-31 Thread Serban Iordache
Hi, When using --add-launcher together with --runtime-image, jpackager exits with the error message: java.lang.ClassCastException: class java.util.ImmutableCollections$List12 cannot be cast to class java.lang.String (java.util.ImmutableCollections$List12 and java.lang.String are in module java.bas

Incorrect value of resource.wxl-file-name in WinResources_ja.properties and WinResources_zh_CN.properties

2020-10-29 Thread Serban Iordache
A China-based user of my Gradle plugin for creating installable packages reported getting the following light.exe error: LGHT0311 : A string was provided with characters that are not available in the specified database code page '1252'. I cannot reproduce the error because I don't have a machine r

Re: jpackage: support for environment variables in --java-options

2020-09-02 Thread Serban Iordache
t; > > > On Aug 31, 2020, at 3:07 PM, Michael Hall wrote: > > > > > > > >> On Aug 29, 2020, at 3:37 AM, Serban Iordache > wrote: > >> > >> Hi, > >> > >> Is there a way to pass values from environment variables when using

Re: jpackage: support for environment variables in --java-options

2020-09-02 Thread Serban Iordache
Not sure if it was clear from my previous messages, but what I am asking for is that the environment variables are expanded with the values they have on the user's machine (not on the machine where jpackage has been executed). Am Di., 1. Sept. 2020 um 08:37 Uhr schrieb Serban Ior

jpackage: support for environment variables in --java-options

2020-08-31 Thread Serban Iordache
Hi, Is there a way to pass values from environment variables when using --java-options? It would be nice to be able to write something like this: --java-options "-DmyAppData=$HOME/.myData" (Instead of using the $ sign, another notation may be more appropriate, in order to not conflict with macro

jpackage 14-jpackage+1-64: error 2343 when using --win-dir-chooser

2019-10-29 Thread Serban Iordache
Issue on Windows 10, with jpackage build 14-jpackage+1-64 (2019/10/28): When using the --win-dir-chooser option, the generated MSI package is not valid. The error message issued by Windows Installer is: "The installer has encountered an unexpected error installing this package. This may indicate a

jpackage: spaces in --java-options

2019-07-12 Thread Serban Iordache
nd a way to make jpackage generate a configuration file that contains: [JavaOptions] -Dlabel=my "great" app Best regards, Serban Iordache