简体   繁体   English

安装JDK后在MAC PC中找不到JAR捆绑程序

[英]JAR bundler not found in MAC PC after installing JDK

I am developing an admin application in JAVA that is supposed to run in all platform. 我正在用JAVA开发一个应该在所有平台上运行的管理应用程序。 For this application I need to create an installer. 对于此应用程序,我需要创建一个安装程序。 But I am facing some problems in MAC. 但是我在MAC中面临一些问题。 In order create installer in MAC I need to bundle JAR file. 为了在MAC中创建安装程序,我需要捆绑JAR文件。 But I don't find any JAR bundler in my PC though I have setup the latest JDK. 但是,尽管我已经安装了最新的JDK,但在我的PC中找不到任何JAR捆绑程序。 Can someone help me to get the JAR bundler? 有人可以帮助我获得JAR捆绑软件吗? Please specify the full process to get JAR bundler. 请指定获取JAR捆绑程序的完整过程。

NOTE: I am developing the app using eclipse IDE. 注意:我正在使用Eclipse IDE开发应用程序。

JarBundler is obsolete, but there is a (better) official replacement: the javapackager tool. JarBundler已过时,但有一个(更好的)官方替代品: javapackager工具。

For OSX, A simple, well explained, step by step tutorial on how to create a DMG from java is here: http://centerkey.com/mac/java/ . 对于OSX,有关如何从Java创建DMG的简单易懂的分步教程位于: http : //centerkey.com/mac/java/

Solution: 解:

The solution of this problem can be found in the following link . 可以在以下链接中找到此问题的解决方案。 Apparently, Apple has discontinued the existence of JAR bundler. 显然,苹果已经停止了JAR捆绑软件的存在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM