OK, here’s my situation :
- I’ve got an app (I’m about to distribute from within the App Store)
- The app depends on an “included”
.jarfile - So, for the app to run smoothly, the java runtime must be present on the user OS X installation
- As of recently, Mountain Lion strips any previous
Java Runtimeinstallation - I know that Java can be installed, when it’s needed
However :
- my app just got rejected, seemingly because it “did nothing”
- I suspect the issue is that the testing was done on a Mountain Lion – running Mac, withOUT a Java runtime.
Questions :
- How do we make sure the Java Runtime is installed
- Why doesn’t a call to
/usr/bin/javatrigger the automatic installation of the JRE? - How do we make the user install the runtime, before we make any use of it?
Apple does not allow apps that rely on Java being installed. See for example
https://blogs.oracle.com/henrik/entry/oracle_jdk_and_javafx_sdk#comment-1335812118020:
Perhaps this link helps: Packaging a Java App for Distribution on a Mac