Hi, First of all, sorry in advance if there is a more appropriate place or system to report this issue. I'm not yet familiar with reporting Java bugs. Please let me know if that's the case.
I'm testing out jpackage (using the 14-jpackage+1-35 build at https://jdk.java.net/jpackage/) and am seeing an issue with .pkg files when there are spaces in the --name argument. I made a simple .jar with a main class that prints "Hello world" and tested generated packages using the following three commands: $ jpackage --package-type dmg --output build/ -i . -n "Hello world" --main-jar Test.jar $ jpackage --package-type pkg --output build/ -i . -n "Hello world" --main-jar Test.jar $ jpackage --package-type pkg --output build/ -i . -n "Hello" --main-jar Test.jar The first command produces a .dmg file that is 50.4 MB in size. However, the second command, which is identical to the first except for the package type, produces a .pkg file which is only 4 KB in size and thus seemingly invalid. The third command, which is identical to the second except that there are no spaces in the name, produces a .pkg file which is 95.5 MB in size. Is this an issue in jpackage or in how I'm using it? If the former, is this a known issue? Please let me know if there is any more information I can provide. Thanks, Jeff