Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>So looks like I have to answer the question my self. So don't punch me for that.</p> <p>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.</p> <p><code>Jar Bundler</code> came in the past with Apples own Java Developer Packages. After trying them all out, one after another and inspecting them with <a href="http://www.charlessoft.com/" rel="noreferrer">Pacifist</a> I found the following out:</p> <ul> <li><p><a href="https://developer.apple.com/downloads/index.action#" rel="noreferrer">Java for OS X 2012-005 Developer Package from 2012-09-06</a> was the last one installing the following Tools:</p> <pre><code>/usr/share/java/Tools/JavaVisualVM.app/ /usr/share/java/Tools/Jar Bundler.app/ /usr/share/java/Tools/Applet Launcher.app/ </code></pre></li> </ul> <p>starting with </p> <ul> <li><p><a href="https://developer.apple.com/downloads/index.action#" rel="noreferrer">Java for OS X 2012-006 Developer Package from 2012-10-16</a></p> <pre><code>/usr/share/java/Tools </code></pre></li> </ul> <p>directory gets removed by the installation of this package, but there are no new <code>/usr/share/java/Tools/*.app</code>s re-installed anymore by the same package.</p> <p>Even re-installation of 2012-005 after <code>/usr/share/java/Tools</code> directory got removed by 2012-006 doesn't bring you back the <code>Jar Bundler.app</code>.</p> <p>So the only way to get <code>Jar Bundler.app</code> back after you lost it while some Apple Java Developer Package update exercises you need to do the following :</p> <ol> <li>Get <a href="http://www.charlessoft.com/" rel="noreferrer">Pacifist</a> or some other tool of your choice who can deal wit <code>*.pkg</code> files.</li> <li>Open Java for OS X 2012-005 Developer Package with it.</li> <li>Ctrl-Click <code>JavaDeveloper.pkg\JavaTools.pkg\Jar Bundler.app</code><img src="https://i.stack.imgur.com/JarK1.jpg" alt="Pacifist with Java for OS X 2012-005 Developer Package from 2012-09-06"></li> <li>Choose <code>Install to Default location</code></li> <li>open <code>Terminal.app</code></li> <li><code>open /usr/share/java/Tools/Jar\ Bundler.app/</code></li> </ol> <p>Thats it and don't forget to back it up.</p> <p>To understand which Apple release number belongs to which JDK/JRE version numbers, see below:</p> <ul> <li><p>Java for OS X 2012-005 Developer Package from 2012-09-06</p> <pre><code>$ 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) </code></pre></li> <li><p>Java for OS X 2012-006 Developer Package from 2012-10-16</p> <pre><code>$ 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) </code></pre></li> <li><p>Java for OS X 2013-001 Developer Package from 2013-02-19</p> <pre><code>$ 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) </code></pre></li> <li><p>Java for OS X 2013-002 Developer Package from 2013-03-04</p> <pre><code>$ 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) </code></pre></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload