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?
Seems like it's a problem inherent to JavaAppLauncher. Stubs like universalJavaApplicationStub pass command-line arguments to the main method as expected.
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?