jpackage creates installer that runs but fails to launch application after installation [closed]

1 day ago 2
ARTICLE AD BOX

After running this command jpackage --input rel --main-jar App.jar --main-class Main --type exe --name App --app-version 2.0 --win-console App-2.0.exe appears and when i run it it says "Please wait while windows configures..." but after that finishes the app doesnt launch.

I tried to run it from Program Files and the terminal but it doesn't launch either.

Here's the project folder link

I first executed jar cvfm App.jar manifest.txt bin/*.class to create App.jar which resulted in

added manifest adding: bin/App.class(in = 1158) (out= 450)(deflated 61%) adding: bin/Control.class(in = 883) (out= 429)(deflated 51%) adding: bin/Main.class(in = 451) (out= 308)(deflated 3

and then I ran jpackage --input rel --main-jar App.jar --main-class Main --type exe --name App --app-version 2.0 --win-console this didn't result in any error.

I looked at the problem in Event Viewer and I found this: The system cannot find the path specified. What does that mean?

Read Entire Article