Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commandline args not passed on to mac os JavaAppLauncher #29

Open
eitzenbe opened this issue Oct 22, 2018 · 1 comment
Open

Commandline args not passed on to mac os JavaAppLauncher #29

eitzenbe opened this issue Oct 22, 2018 · 1 comment

Comments

@eitzenbe
Copy link

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
Copy link
Contributor

Lucina commented Jan 10, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants