How to Submit Java Swing App to the Mac App Store

假装没事ソ 提交于 2020-05-09 09:43:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!