将 .Jar 转换为 .Dmg [英] Convert .Jar to .Dmg

查看:35
本文介绍了将 .Jar 转换为 .Dmg的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有 jar 文件和 lib 文件夹的 java 应用程序,我想将我的应用程序与 lib 文件和文件夹捆绑到一个 .DMG 文件中,以便在 MAC OS x 上运行,所以如果有人有有类似经历请帮帮我.

I have a java application with jar file and a lib folder to go with it,and i want to bundle my application along with the lib files and folders into a .DMG file to run on MAC OS x so if anybody has a similar experience please help me out.

提前致谢

推荐答案

您将所有文件放在一个文件夹中.然后打开磁盘工具(应用程序 -> 实用工具 -> 磁盘工具)并选择从文件夹中新建图像..."

You put all your files in one folder together. Then you open the Disk Utility (Applications -> Utilities -> Disk Utility) and choose "New Image from folder..."

仅此而已.

这篇关于将 .Jar 转换为 .Dmg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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