This issue is reproducible on macOS 10.15 (19A582a) with EA build 14-jpackage+1-49. I was not able to reproduce it on OS X 10.14.
To reproduce it:
1) Download latest jpackage build.
2) Remove quarantine flag
sudo xattr -dr com.apple.quarantine /PathToJDK/jdk-14.jdk
3) jpackage --package-type pkg --input input --dest output --name Test --main-jar DynamicTreeDemo.jar --main-class webstartComponentArch.DynamicTreeApplication
4) Install pkg and run app from /Application folder via Finder.
5) Nothing happens and app does not launch.
To reproduce it:
1) Download latest jpackage build.
2) Remove quarantine flag
sudo xattr -dr com.apple.quarantine /PathToJDK/jdk-14.jdk
3) jpackage --package-type pkg --input input --dest output --name Test --main-jar DynamicTreeDemo.jar --main-class webstartComponentArch.DynamicTreeApplication
4) Install pkg and run app from /Application folder via Finder.
5) Nothing happens and app does not launch.
- relates to
-
JDK-8232042 [macos] Installation fails if application name contains spaces
- Resolved
-
JDK-8212791 Sometimes cannot run installed application on macOS
- Closed