Jar launcher mac

broken image
broken image

Maybe the problem is with 'Jar Launcher', maybe it won't pass arguments through to the java app? That does not work, the application does not receive the hello argument. Now I want to pass arguments, let's say '-hello' After that I can run a command line 'open myApp.jar' and that works too, the open command uses Jar Launcher to open it.

I can run the jar file with Jar Launcher, I did it from Finder and it works, but without command line arguments. It's /System/Libary/CoreServices/Jar\ Launcher.app. This ought to run myApp and pass it '-hello' but it doesn't. Is it possible to use 'Jar Launcher' on Mac to pass command line arguments to a java app? For example: