Jpackage bug: Failed to find runtime/bin/jli.dll

Andy Herrick andy.herrick at oracle.com
Tue Nov 12 16:41:41 UTC 2019


Tobias:

I have tried to reproduce what you have done and can't reproduce any of 
the problems you describe.

Can you supply which jpackage build you are using and exactly what steps 
you use to get these problems.

/Andy

On 11/8/2019 6:38 AM, Tobias Diez wrote:
> Hello everybody,
>
> I used the latest jpackage to create an installer for windows. The installed
> (console) application does not start and complains about "Failed to find
> library" with "$ROOTDIR\runtime\bin\jli.dll".
> If I change the line "app.runtime=$ROOTDIR\runtime" to
> "app.runtime=$APPDIR\runtime" in myapplication.cfg file in the app folder,
> then everything works fine.
>
> Another bug is that the default application launcher does not accept command
> line arguments (it works if you add "win-console" as an argument to
> jpackage).
>
> Best
> Tobias
>


More information about the core-libs-dev mailing list