> On Nov 23, 2019, at 11:22 AM, Kevin Rushforth <kevin.rushfo...@oracle.com>
> wrote:
>
> I just tried this and it worked fine for me:
>
> jpackage --java-options '-Djava.security.policy=$APPDIR/all.policy' ...
>
> (note that there should not be an extra "/app" since $APPDIR points to the
> app directory).
>
> It generated this in the ApplicationName/app/ApplicationName.cfg file:
>
> [JavaOptions]
> -Djava.security.policy=$APPDIR/all.policy
Maybe something is different about running from a bat. Or I’m missing a typo or
something.
Command line it seems to get past that error but gets…
Can not find WiX tools (light.exe, candle.exe)
Download WiX 3.0 or later from….
Error: Invalid or unsupported type: [null]
This is from a VirtualBox Windows 10 64bit virtual machine.
The bat file continues to get the same error. I’ll look closer to be sure it
isn’t an error in my bat.
On OS X, yes APPDIR works when I remove ‘app’ from the path as you indicated.