jpackage ROOTDIR variable in a Windows bat file
Kevin Rushforth
kevin.rushforth at oracle.com
Sat Nov 23 17:22:28 UTC 2019
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
-- Kevin
On 11/23/2019 9:12 AM, Michael Hall wrote:
>
>> With forward slashes
>>
>> Error: Invalid Option: [-Djava.security.policy=$ROOTDIR/app/all.policy]
> Sorry that should of been APPDIR. manually cutting and pasting with edit since I can’t currently cut and paste directly between Windows VirtualBox and OS X.
More information about the core-libs-dev
mailing list