-
-
Notifications
You must be signed in to change notification settings - Fork 419
Open
Description
It fails to run the produced .jar
file with the ./out.jar
syntax:
arturaz@razor:~/work/mill/out/example/scalalib/basic/1-simple/packaged/nodaemon/testForked.dest/sandbox/run-1> ./out/foo/assembly.dest/out.jar --text hello
executing:
java -jar ./out/foo/assembly.dest/out.jar
Missing argument: --text <str>
Expected Signature: main
--text <str>
Which then produced a GUI popup with this:
The execution of 'java -jar ./out/foo/assembly.dest/out.jar failed'.
Maybe it doesn't containt the Main-Class in MANIFEST.MF
Run the above command in terminal to check the error output

Java:
arturaz@razor:~/work/mill/out/example/scalalib/basic/1-simple/packaged/nodaemon/testForked.dest/sandbox/run-1> java --version
openjdk 21.0.3 2024-04-16 LTS
OpenJDK Runtime Environment Temurin-21.0.3+9 (build 21.0.3+9-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.3+9 (build 21.0.3+9-LTS, mixed mode, sharing)
Metadata
Metadata
Assignees
Labels
No labels