This might help jump-start finding an answer. Recalling that PyCharm.app does something similar, here is an extract from the applications Info.plist
file (watch the …snip… lines in there):
…snip…
<key>JVMOptions</key>
<dict>
…snip…
<key>JVMVersion</key>
<!-- string>1.6*,1.7+</string -->
<string>1.7+</string>
…snip…
</dict>
…snip…
Also, the PaperCut Client application (PCClient) uses some simliar items in its Info.plist
:
<plist version="1.0">
<dict>
…snip…
<key>CFBundleExecutable</key>
<string>JavaAppLauncher</string>
<key>JVMRuntime</key>
<string>jre</string>
<key>JVMMainClassName</key>
<string>biz.papercut.pcng.client.uit.UserClient</string>
<key>JVMOptions</key>
<array>
<string>-Dclient.home=$APP_ROOT/Contents/Resources/</string>
<string>-Dcom.apple.macos.useScreenMenuBar=true</string>
<string>-Xmx256m</string>
<!-- Workaround since the icon parameter for bundleapp doesn't work -->
<string>-Xdock:icon=$APP_ROOT/Contents/Resources/client-icon.icns</string>
</array>
<key>JVMArguments</key>
<array/>
</dict>
</plist>
Again, these are parts of different Info.plist
files so they might not work as straight copy-and-paste. However, both apps work on OS X, so these keys/values might help you narrow down to a working solution.
Both apps seem to have a slightly different way of doing things. PCClient.app appears to include it's own version of Java, whereas PyCharm relies on what’s installed on OS X.