The question is how do I run some application written in java and bundled into .app package from command-line?
The main purpose of this is to run an application under JDK7. So I will start it with the
java bundled in JDK7 instead of default one.
I need something like https://apple.stackexchange.com/a/10253/15553 but with java, so I can run it with a different JDK.