Jorl17 / jar2app

Convert any Java jar to a Mac OS X .App bundle. No external tools needed, no funky parameters, it just works.
GNU General Public License v2.0
418 stars 56 forks source link

Commandline args not passed on to mac os JavaAppLauncher #29

Open eitzenbe opened 6 years ago

eitzenbe commented 6 years ago

I have packaged a java app for mac os but when I try to call the app with cmdlines (either via open command or by going directly into the app macos folder and running JavaAppLauncher with arguments) they are not forwarded to the java main method... Doing via java -jar goldfinder.jar arg1 arg2 works. Any Clue how to get this working? Is it a configuration issue or a feature?

Lucina commented 5 years ago

Seems like it's a problem inherent to JavaAppLauncher. Stubs like universalJavaApplicationStub pass command-line arguments to the main method as expected.