Installation fails if application name contains spaces. See attached image. This issue was reproduced on macOS 10.15, but most likely reproducible on other macOS versions.
jpackage --package-type pkg --input input --dest output --name "Test App" --main-jar DynamicTreeDemo.jar --main-class webstartComponentArch.DynamicTreeApplication
This issue as discovered while testingJDK-8231858. JDK-8231858 should able to handle spaces in name, but it was not verified do to this issue. JDK-8231858 needs to be retested once this issue is fixed.
jpackage --package-type pkg --input input --dest output --name "Test App" --main-jar DynamicTreeDemo.jar --main-class webstartComponentArch.DynamicTreeApplication
This issue as discovered while testing
- relates to
-
JDK-8231858 [macos] App does not run if installed with pkg
- Resolved