Might be some strange issues processing the shell script that invokes jpackage.
I just got this… [11:39:35.221] jdk.jpackage.internal.model.PackagerException: jlink failed with: Error: no modules specified to --add-modules Retried immediately and it worked. So either the OS is having problems running the script or jpackage is having problems parsing it’s input? > On May 30, 2026, at 7:19 PM, Michael Hall <[email protected]> wrote: > > OK, did enough homework. -rf gets it. Not sure why the initial non-option > errors. > >> On May 30, 2026, at 6:08 PM, Michael Hall <[email protected]> wrote: >> >> It does seem r only permissions are unix insufficient to delete a directory. >> Is the r intentional now for some reason? >> >>> On May 30, 2026, at 6:00 PM, Michael Hall <[email protected]> wrote: >>> >>> This might be a never mind. I am unable to reproduce the parameter errors. >>> I am getting other issues trying to delete old versions for the build. >>> >>> Deleting QuantumJava.app application... >>> override r--r--r-- mjh/staff for >>> QuantumJava.app/Contents/runtime/Contents/Home/legal/java.xml/bcel.md? >>> >>> I sort of remember earlier problems related to the runtime legal files but >>> not exactly what that turned out to be. >>> >>> Maybe something has happened specific to my machine in the interim since I >>> last did this. >>> >>>> On May 30, 2026, at 2:08 PM, Michael Hall <[email protected]> wrote: >>>> >>>> I just tried to run jpackage on an app I haven’t done anything with for a >>>> while running it with jdk 26 that I installed a little while ago. >>>> >>>> I got the error below? >>>> >>>> I changed to jdk-25… >>>> PACKAGER=`/usr/libexec/java_home -v jdk-25.jdk`/bin/jpackage >>>> >>>> And it worked. >>>> >>>> The error... >>>> [12:27:46.254] jdk.jpackage.internal.model.JPackageException: Found 5 >>>> non-option arguments on the command line. Non-option arguments are not >>>> allowed >>>> at >>>> jdk.jpackage/jdk.jpackage.internal.cli.OptionsProcessor.validateNonOptionArguments(OptionsProcessor.java:206) >>>> at >>>> jdk.jpackage/jdk.jpackage.internal.cli.OptionsProcessor.validate(OptionsProcessor.java:84) >>>> at >>>> jdk.jpackage/jdk.jpackage.internal.cli.Main.lambda$run$0(Main.java:128) >>>> at >>>> jdk.jpackage/jdk.jpackage.internal.cli.Main$Runner.runIt(Main.java:214) >>>> at jdk.jpackage/jdk.jpackage.internal.cli.Main$Runner.run(Main.java:202) >>>> at jdk.jpackage/jdk.jpackage.internal.cli.Main.run(Main.java:101) >>>> at jdk.jpackage/jdk.jpackage.internal.cli.Main.main(Main.java:77) >>>> at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:37) >>>> Found 5 non-option arguments on the command line. Non-option arguments are >>>> not allowed >>>> >>>> jpackage --version >>>> 26.0.1 >>>> >>> >> >
