为什么Jar Bundler会进入Mac OS X Mountain Lion 10.8.2 [英] Why is Jar Bundler gone in Mac OS X Mountain Lion 10.8.2

查看:132
本文介绍了为什么Jar Bundler会进入Mac OS X Mountain Lion 10.8.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有来自苹果一个应用程序调用 罐捆扎机 其由苹果和Xcode过去得到分发。

There was a application from Apple called Jar Bundler which got distributed by Apple with Xcode in the past.

Jar Bundler 的目的是创建Mac OS X应用程序包( *。app 目录)用于Java应用程序,直到版本6(1.6.x),以便Mac OS X用户使用。

The purpose of Jar Bundler was to create Mac OS X application bundles (*.app directories) for Java applications until version 6 (1.6.x) for Mac OS X user convenience.​​​​​​​​

截至目前,你仍然可以获得

As of now, you can still get


  • 来自Apple的JDK 1.6.0_43

aka


  • Java for OS X 2013-002开发者软件包2013年3月4日

当前的Mac OS X Mountain Lion 10.8.2 via

for the current Mac OS X Mountain Lion 10.8.2 via


  • < a href =https://developer.apple.com/downloads/index.action# =noreferrer> https://developer.apple.com/downloads/index.acti在#

  • https://developer.apple.com/downloads/index.action#

但你无法获得 Jar Bundler

我使用的是最新的 Mac OS X 10.8.2 和最新的 Xcode 4.6(4H127)安装了所有命令行工具。经过我所做的所有研究,我希望在这里:

I'm using an up to date Mac OS X 10.8.2 and up to date Xcode 4.6 (4H127) with all Command Line Tools installed. After all research I did I would expect it here:

/usr/share/java/Tools/Jar Bundler.app

但是没有任何 Jar Bundler 。即使是全局搜索 sudo find / -name Jar \ Bundler.app 也没找到 Jar Bundler

But there isn't any Jar Bundler. Even a global search sudo find / -name Jar\ Bundler.app did not really find Jar Bundler.

所以我的问题是:最后一个已知的Xcode版本是什么? Jar Bundler

So my question is: What is the last known Xcode version coming with Jar Bundler

注意:我知道还有其他方法可以实现 Jar Bundler 在这里做的事情,例如使用 Mac OS X JarBundler ANT任务或手工构建整个应用程序包,但这不是问题。

Note: I know there are other ways to achieve what Jar Bundler is doing here, like for example using Mac OS X JarBundler ANT Task or build the whole application package by hand, but thats not the question.

推荐答案

所以看起来我必须自己回答这个问题。所以不要因此而打我。

So looks like I have to answer the question my self. So don't punch me for that.

经过深入研究并从2012年开始从Apple下载所有Java开发包,直到现在(2013年3月),结果证明它没有任何关系做机智Xcode。

After intensive research and downloading all Java Developer Packages from Apple since 2012 til now (March 2013) it turns out its has nothing to do wit Xcode.

Jar Bundler 过去使用Apples自己的Java Developer Packages。在尝试了所有这些之后,一个接一个地用 Pacifist 检查它们,我发现了以下内容:

Jar Bundler came in the past with Apples own Java Developer Packages. After trying them all out, one after another and inspecting them with Pacifist I found the following out:

  • Java for OS X 2012-005 Developer Package from 2012-09-06 was the last one installing the following Tools:

/usr/share/java/Tools/JavaVisualVM.app/
/usr/share/java/Tools/Jar Bundler.app/
/usr/share/java/Tools/Applet Launcher.app/


/usr/share/java/Tools


目录被安装此软件包删除,但那里不是新的 / usr / share / java / Tools / * .app 再用同一个软件包重新安装。

directory gets removed by the installation of this package, but there are no new /usr/share/java/Tools/*.apps re-installed anymore by the same package.

甚至在 / usr / share / java / Tools之后重新安装2012-005 目录已被2012-006删除,但没有带你回到 Jar Bundler.app

Even re-installation of 2012-005 after /usr/share/java/Tools directory got removed by 2012-006 doesn't bring you back the Jar Bundler.app.

因此,在您丢失它之后获取 Jar Bundler.app 的唯一方法是在进行Apple Java Developer Package更新练习时需要执行以下操作:

So the only way to get Jar Bundler.app back after you lost it while some Apple Java Developer Package update exercises you need to do the following :


  1. 获取 Pacifist 或其他您可以选择的工具 *。pkg files。

  2. 使用它打开OS for OS X 2012-005开发人员包。

  3. Ctrl-Click JavaDeveloper.pkg \ JavaTools.pkg \ Jaar Bundler.app

  4. 选择安装到默认位置

  5. 打开 Terminal.app

  6. 打开/ usr / share / java / Tools / Jar\ Bundler.app /

  1. Get Pacifist or some other tool of your choice who can deal wit *.pkg files.
  2. Open Java for OS X 2012-005 Developer Package with it.
  3. Ctrl-Click JavaDeveloper.pkg\JavaTools.pkg\Jar Bundler.app
  4. Choose Install to Default location
  5. open Terminal.app
  6. open /usr/share/java/Tools/Jar\ Bundler.app/

这就是它,不要忘记支持它。

Thats it and don't forget to back it up.

要了解哪个Apple版本号属于哪个JDK / JRE版本号,请参阅下文:

To understand which Apple release number belongs to which JDK/JRE version numbers, see below:


  • 来自2012-09-06的OS for OS X 2012-005开发者包的Java

  • Java for OS X 2012-005 Developer Package from 2012-09-06

$ java -version
java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11M4203)
Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode)


  • Java for OS X 2012-006开发者软件包2012-10-16

  • Java for OS X 2012-006 Developer Package from 2012-10-16

    $ java -version
    java version "1.6.0_37"
    Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
    Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
    


  • Java for OS X 2013-001开发人员包来自2013-02-19

  • Java for OS X 2013-001 Developer Package from 2013-02-19

    $ java -version
    java version "1.6.0_41"
    Java(TM) SE Runtime Environment (build 1.6.0_41-b02-445-11M4107)
    Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-445, mixed mode)
    


  • 2013年OS X 2013-002开发人员包的Java -03-04

  • Java for OS X 2013-002 Developer Package from 2013-03-04

    $ java -version
    java version "1.6.0_43"
    Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-11M4203)
    Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode)
    


  • 这篇关于为什么Jar Bundler会进入Mac OS X Mountain Lion 10.8.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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