如何将Java Swing应用程序提交到Mac App Store [英] How to Submit Java Swing App to the Mac App Store

查看:317
本文介绍了如何将Java Swing应用程序提交到Mac App Store的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apple Store要求使用嵌入式JRE作为Mac App Store分发的先决条件.

Apple Store requires the use of an embedded JRE as a prerequisite for Mac App Store distribution.

OpenJDK或Oracle JRE,是否允许Oracle分发其JRE?

OpenJDK or Oracle JRE, Allows Oracle distribute its JRE?

我的Java Swing应用程序已经打包在一个.app文件中,在将我的应用程序上传到sanbox apple之前,我还需要做其他事情吗?

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?

推荐答案

使用基于Oracle Ant的工具appbundler.使用它,您可以指定要添加到您的应用程序中的运行时:

Use Oracle's Ant-based tool appbundler. With it, you can specify a runtime to add to your app:

<runtime dir="${env.JAVA_HOME}" />

有关更多详细信息,请参见以下指南:打包在Mac上分发的Java App

See the following guide for more details: Packaging a Java App for Distribution on a Mac

这篇关于如何将Java Swing应用程序提交到Mac App Store的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆