问题
Apple Store requires the use of an embedded JRE as a prerequisite for Mac App Store distribution.
OpenJDK or Oracle JRE, Allows Oracle distribute its JRE?
My Java Swing Application is Already packaged in a .app file, do I have to do something else before uploading my application to sanbox apple?
回答1:
Use Oracle's Ant-based tool appbundler
. With it, you can specify a runtime to add to your app:
<runtime dir="${env.JAVA_HOME}" />
See the following guide for more details: Packaging a Java App for Distribution on a Mac
来源:https://stackoverflow.com/questions/24677371/how-to-submit-java-swing-app-to-the-mac-app-store