When specifying --java-options it may be desired to reference the resources included with the application. This can be done by using $APPDIR macro.
For example, on windows include "myApp.jpg" in the directory specified by the --input option. Then you can include the option:
--java-options '-splash:\$APPDIR/myApp.jpg'
and MyApp.jpg will be used as the applications splash image.
For example, on windows include "myApp.jpg" in the directory specified by the --input option. Then you can include the option:
--java-options '-splash:\$APPDIR/myApp.jpg'
and MyApp.jpg will be used as the applications splash image.
- relates to
-
JDK-8231910 Expose the APPDIR variable to applications that use jpackage
-
- Resolved
-