The Lone C++ Coder's Blog

The Lone C++ Coder's Blog

The continued diary of an experienced C++ programmer. Thoughts on C++ and other languages I play with, Emacs, functional, non functional and sometimes non-functioning programming.

Timo Geusch

10-Minute Read

Update 2019-05-07: The java8 cask is affected by recent licensing changes by Oracle. There’s a discussion over on github about this. I’m leaving the post up partially for historic context, but the java8 cask is no longer available, at least at the time of writing.

In an earlier post, I described how to install the latest version of the Oracle Java JDK using homebrew. What hadn’t been completely obvious to me when I wrote the original blog post is that the ‘java’ cask will install the latest major version of the JDK. As a result, when I upgraded my JDK install today, I ended up with an upgrade from Java 8 to Java 9. On my personal machine that’s not a problem, but what if I wanted to stick with a specific major version  of Java?

Turns out, there is actually another cask called “versions” that allows you to do exactly that. With just the ‘java’ cask installed, searching casks for “java” results in the following output

my-macpro:~ timo$ brew cask search "java*"
==> Exact Match
java ✔
==> Partial Matches
eclipse-java java-jdk-javadoc netbeans-java-ee netbeans-java-se yourkit-java-profiler
my-macpro:~ timo$ java -version
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
my-macpro:~ timo$
{% endhighlight bash %}

As you can see, it finds a single 'java' cask, which is the one I used in the previous blog post to install the current version of the JDK. Now let's tap the "versions" cask as well:

<div class="highlight"><pre tabindex="0" style="background-color:#f0f3f3;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-sh" data-lang="sh">my-macpro:~ timo$ brew tap caskroom/versions
<span style="color:#555">==</span>&gt; Tapping caskroom/versions
Cloning into <span style="color:#c30">&#39;/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions&#39;</span>...
remote: Counting objects: 196, <span style="color:#069;font-weight:bold">done</span>.
remote: Compressing objects: 100% <span style="color:#555">(</span>193/193<span style="color:#555">)</span>, <span style="color:#069;font-weight:bold">done</span>.
remote: Total <span style="color:#f60">196</span> <span style="color:#555">(</span>delta 15<span style="color:#555">)</span>, reused <span style="color:#f60">45</span> <span style="color:#555">(</span>delta 1<span style="color:#555">)</span>, pack-reused <span style="color:#f60">0</span>
Receiving objects: 100% <span style="color:#555">(</span>196/196<span style="color:#555">)</span>, 78.89 KiB | 4.64 MiB/s, <span style="color:#069;font-weight:bold">done</span>.
Resolving deltas: 100% <span style="color:#555">(</span>15/15<span style="color:#555">)</span>, <span style="color:#069;font-weight:bold">done</span>.
Tapped <span style="color:#f60">0</span> formulae <span style="color:#555">(</span><span style="color:#f60">214</span> files, 295.9KB<span style="color:#555">)</span>
<span style="color:#555">{</span>% endhighlight sh %<span style="color:#555">}</span>

With the <span style="color:#c30">&#39;versions&#39;</span> cask tapped, let<span style="color:#a00;background-color:#faa">&#39;</span>s search the casks <span style="color:#069;font-weight:bold">for</span> <span style="color:#c30">&#34;java&#34;</span> again:

&lt;div <span style="color:#033">class</span><span style="color:#555">=</span><span style="color:#c30">&#34;highlight&#34;</span>&gt;&lt;pre <span style="color:#033">tabindex</span><span style="color:#555">=</span><span style="color:#c30">&#34;0&#34;</span> <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;background-color:#f0f3f3;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;</span>&gt;&lt;code <span style="color:#033">class</span><span style="color:#555">=</span><span style="color:#c30">&#34;language-sh&#34;</span> data-lang<span style="color:#555">=</span><span style="color:#c30">&#34;sh&#34;</span>&gt;my-macpro:~ timo$ brew cask search &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;java*&amp;#34;&lt;/span&gt;</span>
&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">==</span>&lt;/span&gt;&amp;gt; Exact Match
java ✔
&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">==</span>&lt;/span&gt;&amp;gt; Partial Matches
charles-applejava java-jdk-javadoc java8 netbeans-java-se
eclipse-java java6 netbeans-java-ee yourkit-java-profiler
&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">{</span>&lt;/span&gt;% endhighlight sh %&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">}</span>&lt;/span&gt;

You can see that the search now finds a few more casks, namely &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;charles-applejava&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;java6&amp;#34;&lt;/span&gt; and &lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;java8&amp;#34;&lt;/span&gt;. Running &lt;span style=&#34;color:#c30&#34;&gt;&amp;#39;brew cask info&amp;#39;&lt;/span&gt; on the two java casks shows that they&lt;span style=&#34;color:#a00;background-color:#faa&#34;&gt;&amp;#39;&lt;/span&gt;ll allow you to install the latest Java &lt;span style=&#34;color:#f60&#34;&gt;6&lt;/span&gt; and Java &lt;span style=&#34;color:#f60&#34;&gt;8&lt;/span&gt; JDKs:</span>

&amp;lt;div &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;class&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;highlight&amp;#34;&lt;/span&gt;&amp;gt;&amp;lt;pre &lt;span style=&#34;color:#033&#34;&gt;tabindex&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;0&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;background-color:#f0f3f3;-moz-tab-size:4;-o-tab-size:4;tab-size:4&amp;#34;&lt;/span&gt;&amp;gt;&amp;lt;code &lt;span style=&#34;color:#033&#34;&gt;class&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;language-sh&amp;#34;&lt;/span&gt; data-lang&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;sh&amp;#34;&lt;/span&gt;&amp;gt;my-macpro:~ timo$ brew cask info java6</span>
java6: 1.6.0_65
https://support.apple.com/kb/DL1572
Not installed
From: https://github.com/caskroom/homebrew-versions/blob/master/Casks/java6.rb
&amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;==&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;amp;gt; Name</span>
Java Standard Edition Development &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;Kit&amp;lt;/span&amp;gt;</span>
&amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;==&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;amp;gt; Artifacts</span>
JavaForOSX.pkg &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;(&lt;/span&gt;&amp;lt;/span&amp;gt;Pkg&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;)&lt;/span&gt;&amp;lt;/span&amp;gt;</span>
my-macpro:~ timo$ brew cask info java8
java8: 1.8.0_144-b01,090f390dda5b47b9b721c7dfaa008135
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Not installed
From: https://github.com/caskroom/homebrew-versions/blob/master/Casks/java8.rb
&amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;==&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;amp;gt; Name</span>
Java Standard Edition Development &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;Kit&amp;lt;/span&amp;gt;</span>
&amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;==&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;amp;gt; Artifacts</span>
JDK &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#f60&amp;#34;&lt;/span&gt;&amp;gt;8&amp;lt;/span&amp;gt; Update 144.pkg &amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;(&lt;/span&gt;&amp;lt;/span&amp;gt;Pkg&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;)&lt;/span&gt;&amp;lt;/span&amp;gt;</span>
&amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;==&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;amp;gt; Caveats</span>
This Cask makes minor modifications to the JRE to prevent issues with
packaged applications, as discussed here:

https://bugs.eclipse.org/bugs/show_bug.cgi?id&amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#f60&amp;#34;&lt;/span&gt;&amp;gt;411361&amp;lt;/span&amp;gt;</span>

If your Java application still asks &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#069;font-weight:bold&amp;#34;&lt;/span&gt;&amp;gt;for&amp;lt;/span&amp;gt; JRE installation, you might need</span>
to reboot or logout/login.

Installing this Cask means you have AGREED to the Oracle Binary Code
License Agreement &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#069;font-weight:bold&amp;#34;&lt;/span&gt;&amp;gt;for&amp;lt;/span&amp;gt; Java SE at</span>

https://www.oracle.com/technetwork/java/javase/terms/license/index.html
&amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;{&lt;/span&gt;&amp;lt;/span&amp;gt;% endhighlight sh %&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;}&lt;/span&gt;&amp;lt;/span&amp;gt;</span>

After tapping the &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#39;versions&amp;amp;#39;&amp;lt;/span&amp;gt; cask, you can install the aforementioned Java 8, by running:&lt;/span&gt;</span>

&amp;amp;lt;div &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;class&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;highlight&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;amp;lt;pre &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;tabindex&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;0&amp;amp;#34;&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;background-color:#f0f3f3;-moz-tab-size:4;-o-tab-size:4;tab-size:4&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;amp;lt;code &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;class&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;language-sh&amp;amp;#34;&amp;lt;/span&amp;gt; data-lang&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;sh&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;my-macpro:~ timo$ brew cask install &amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#033&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;java8&amp;amp;lt;/span&amp;amp;gt;&lt;/span&gt;</span>
&amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;==&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt; Caveats&lt;/span&gt;</span>
This Cask makes minor modifications to the JRE to prevent issues with
packaged applications, as discussed here:

  https://bugs.eclipse.org/bugs/show_bug.cgi?id&amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#f60&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;411361&amp;amp;lt;/span&amp;amp;gt;&lt;/span&gt;</span>

If your Java application still asks &amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#069;font-weight:bold&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;for&amp;amp;lt;/span&amp;amp;gt; JRE installation, you might need&lt;/span&gt;</span>
to reboot or logout/login.

Installing this Cask means you have AGREED to the Oracle Binary Code
License Agreement &amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#069;font-weight:bold&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;for&amp;amp;lt;/span&amp;amp;gt; Java SE at&lt;/span&gt;</span>

  https://www.oracle.com/technetwork/java/javase/terms/license/index.html

&amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;==&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt; Satisfying &amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#033&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;dependencies&amp;amp;lt;/span&amp;amp;gt;&lt;/span&gt;</span>
&amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;==&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt; Downloading http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-macosx-x64.dmg&lt;/span&gt;</span>
&amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#09f;font-style:italic&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;######################################################################## 100.0%&amp;amp;lt;/span&amp;amp;gt;&lt;/span&gt;</span>
&amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;==&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt; Verifying checksum &amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#069;font-weight:bold&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;for&amp;amp;lt;/span&amp;amp;gt; Cask &amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#033&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;java8&amp;amp;lt;/span&amp;amp;gt;&lt;/span&gt;</span>
&amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;==&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt; Installing Cask &amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#033&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;java8&amp;amp;lt;/span&amp;amp;gt;&lt;/span&gt;</span>
&amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;==&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt; Running installer &amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#069;font-weight:bold&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;for&amp;amp;lt;/span&amp;amp;gt; java8; your password may be necessary.&lt;/span&gt;</span>
&amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;==&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt; Package installers may write to any location; options such as --appdir are ignored.&lt;/span&gt;</span>
Password:
&amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;==&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt; installer: Package name is JDK &amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#f60&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;8&amp;amp;lt;/span&amp;amp;gt; Update &amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#033&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;144&amp;amp;lt;/span&amp;amp;gt;&lt;/span&gt;</span>
&amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;==&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt; installer: Installing at base path /&lt;/span&gt;</span>
&amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;==&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt; installer: The install was successful.&lt;/span&gt;</span>
🍺  java8 was successfully installed!
&amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;{&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;% endhighlight sh %&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;}&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&lt;/span&gt;</span>

At this particular point, the default Java still points to /usr/bin/java. This launcher binary will start Java &amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#f60&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;9&amp;amp;lt;/span&amp;amp;gt; by default. However, by pointing JAVA_HOME to one of the other installations, you can use the newly installed, latest version of Java 8:&lt;/span&gt;</span>

&amp;amp;amp;lt;div &amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#033&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;class&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#c30&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;amp;amp;&amp;lt;span style=&amp;#34;color:#09f;font-style:italic&amp;#34;&amp;gt;#34;highlight&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;amp;lt;pre &amp;amp;lt;span style=&amp;amp;#34;color:#033&amp;amp;#34;&amp;amp;gt;tabindex&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#c30&amp;amp;#34;&amp;amp;gt;&amp;amp;amp;#34;0&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt; &amp;amp;lt;span style=&amp;amp;#34;color:#033&amp;amp;#34;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#c30&amp;amp;#34;&amp;amp;gt;&amp;amp;amp;#34;background-color:#f0f3f3;-moz-tab-size:4;-o-tab-size:4;tab-size:4&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;amp;lt;code &amp;amp;lt;span style=&amp;amp;#34;color:#033&amp;amp;#34;&amp;amp;gt;class&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#c30&amp;amp;#34;&amp;amp;gt;&amp;amp;amp;#34;language-sh&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt; data-lang&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#c30&amp;amp;#34;&amp;amp;gt;&amp;amp;amp;#34;sh&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;my-macpro:~ timo&amp;amp;amp;amp;amp;gt;env &amp;amp;amp;lt;span &amp;amp;lt;span style=&amp;amp;#34;color:#033&amp;amp;#34;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#c30&amp;amp;#34;&amp;amp;gt;&amp;amp;amp;#34;color:#033&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;JAVA_HOME&amp;amp;amp;lt;/span&amp;amp;amp;gt;&amp;amp;amp;lt;span &amp;amp;lt;span style=&amp;amp;#34;color:#033&amp;amp;#34;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#c30&amp;amp;#34;&amp;amp;gt;&amp;amp;amp;#34;color:#555&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;lt;/span&amp;amp;amp;gt;/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home java -version&amp;lt;/span&amp;gt;&lt;/span&gt;</span>
java version &amp;amp;amp;lt;span &amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#033&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#c30&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;amp;amp;&amp;lt;span style=&amp;#34;color:#09f;font-style:italic&amp;#34;&amp;gt;#34;color:#c30&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;amp;amp;&amp;amp;lt;span style=&amp;amp;#34;color:#09f;font-style:italic&amp;amp;#34;&amp;amp;gt;#34;1.8.0_144&amp;amp;amp;amp;#34;&amp;amp;amp;lt;/span&amp;amp;amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;lt;/span&amp;gt;&lt;/span&gt;</span>
Java&amp;amp;amp;lt;span &amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#033&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#c30&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;amp;amp;&amp;lt;span style=&amp;#34;color:#09f;font-style:italic&amp;#34;&amp;gt;#34;color:#555&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;(&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;lt;/span&amp;amp;amp;gt;TM&amp;amp;amp;lt;span &amp;amp;lt;span style=&amp;amp;#34;color:#033&amp;amp;#34;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#c30&amp;amp;#34;&amp;amp;gt;&amp;amp;amp;#34;color:#555&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;)&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;lt;/span&amp;amp;amp;gt; SE Runtime Environment &amp;amp;amp;lt;span &amp;amp;lt;span style=&amp;amp;#34;color:#033&amp;amp;#34;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#c30&amp;amp;#34;&amp;amp;gt;&amp;amp;amp;#34;color:#555&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;(&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;lt;/span&amp;amp;amp;gt;build 1.8.0_144-b01&amp;amp;amp;lt;span &amp;amp;lt;span style=&amp;amp;#34;color:#033&amp;amp;#34;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#c30&amp;amp;#34;&amp;amp;gt;&amp;amp;amp;#34;color:#555&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;)&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;lt;/span&amp;amp;amp;gt;&amp;lt;/span&amp;gt;&lt;/span&gt;</span>
Java HotSpot&amp;amp;amp;lt;span &amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#033&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#c30&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;amp;amp;&amp;lt;span style=&amp;#34;color:#09f;font-style:italic&amp;#34;&amp;gt;#34;color:#555&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;(&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;lt;/span&amp;amp;amp;gt;TM&amp;amp;amp;lt;span &amp;amp;lt;span style=&amp;amp;#34;color:#033&amp;amp;#34;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#c30&amp;amp;#34;&amp;amp;gt;&amp;amp;amp;#34;color:#555&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;)&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;lt;/span&amp;amp;amp;gt; 64-Bit Server VM &amp;amp;amp;lt;span &amp;amp;lt;span style=&amp;amp;#34;color:#033&amp;amp;#34;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#c30&amp;amp;#34;&amp;amp;gt;&amp;amp;amp;#34;color:#555&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;(&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;lt;/span&amp;amp;amp;gt;build 25.144-b01, mixed mode&amp;amp;amp;lt;span &amp;amp;lt;span style=&amp;amp;#34;color:#033&amp;amp;#34;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#c30&amp;amp;#34;&amp;amp;gt;&amp;amp;amp;#34;color:#555&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;)&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;lt;/span&amp;amp;amp;gt;&amp;lt;/span&amp;gt;&lt;/span&gt;</span>
odie-pro:~ timo$ env &amp;amp;amp;lt;span &amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#033&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#c30&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;amp;amp;&amp;lt;span style=&amp;#34;color:#09f;font-style:italic&amp;#34;&amp;gt;#34;color:#033&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;JAVA_HOME&amp;amp;amp;lt;/span&amp;amp;amp;gt;&amp;amp;amp;lt;span &amp;amp;lt;span style=&amp;amp;#34;color:#033&amp;amp;#34;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#c30&amp;amp;#34;&amp;amp;gt;&amp;amp;amp;#34;color:#555&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;lt;/span&amp;amp;amp;gt;/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home javac -version&amp;lt;/span&amp;gt;&lt;/span&gt;</span>
javac 1.8.0_144
&amp;amp;amp;lt;span &amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#033&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#c30&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;amp;amp;&amp;lt;span style=&amp;#34;color:#09f;font-style:italic&amp;#34;&amp;gt;#34;color:#555&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;{&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;lt;/span&amp;amp;amp;gt;% endhighlight sh %&amp;amp;amp;lt;span &amp;amp;lt;span style=&amp;amp;#34;color:#033&amp;amp;#34;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;=&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#c30&amp;amp;#34;&amp;amp;gt;&amp;amp;amp;#34;color:#555&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;lt;span style=&amp;amp;#34;color:#555&amp;amp;#34;&amp;amp;gt;}&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;lt;/span&amp;amp;amp;gt;&amp;lt;/span&amp;gt;&lt;/span&gt;</span>

I wouldn&amp;amp;amp;lt;span &amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#033&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#c30&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;amp;amp;&amp;lt;span style=&amp;#34;color:#09f;font-style:italic&amp;#34;&amp;gt;#34;color:#a00;background-color:#faa&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;&amp;amp;amp;amp;&amp;amp;lt;span style=&amp;amp;#34;color:#09f;font-style:italic&amp;amp;#34;&amp;amp;gt;#39;&amp;amp;amp;lt;/span&amp;amp;amp;gt;t be surprised &amp;amp;amp;lt;span style=&amp;amp;amp;#34;color:#069;font-weight:bold&amp;amp;amp;#34;&amp;amp;amp;gt;if&amp;amp;amp;lt;/span&amp;amp;amp;gt; there is an easier way to start Java &amp;amp;amp;lt;span style=&amp;amp;amp;#34;color:#f60&amp;amp;amp;#34;&amp;amp;amp;gt;8&amp;amp;amp;lt;/span&amp;amp;amp;gt; or Java &amp;amp;amp;lt;span style=&amp;amp;amp;#34;color:#f60&amp;amp;amp;#34;&amp;amp;amp;gt;6&amp;amp;amp;lt;/span&amp;amp;amp;gt; after the installation of the version specific casks, but the above was a good enough starting point &amp;amp;amp;lt;span style=&amp;amp;amp;#34;color:#069;font-weight:bold&amp;amp;amp;#34;&amp;amp;amp;gt;for&amp;amp;amp;lt;/span&amp;amp;amp;gt; my needs, plus I can always code up a little switcher utility in a shell script.&amp;amp;lt;/span&amp;amp;gt;&amp;lt;/span&amp;gt;&lt;/span&gt;</span>

If you have an easier way to change Java versions that were installed using the various casks, please &amp;amp;amp;lt;span &amp;amp;lt;span &amp;lt;span &lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#033&#34;</span>&gt;style&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#555&#34;</span>&gt;<span style="color:#555">=</span>&lt;/span&gt;&lt;span <span style="color:#033">style</span><span style="color:#555">=</span><span style="color:#c30">&#34;color:#c30&#34;</span>&gt;&amp;<span style="color:#09f;font-style:italic">#34;color:#033&amp;#34;&lt;/span&gt;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#555&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&amp;lt;/span&amp;gt;&amp;lt;span &lt;span style=&#34;color:#033&#34;&gt;style&lt;/span&gt;&lt;span style=&#34;color:#555&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#c30&#34;&gt;&amp;#34;color:#c30&amp;#34;&lt;/span&gt;&amp;gt;&amp;amp;&lt;span style=&#34;color:#09f;font-style:italic&#34;&gt;#34;color:#033&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;style&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#555&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;span &amp;lt;span style=&amp;#34;color:#033&amp;#34;&amp;gt;style&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#555&amp;#34;&amp;gt;=&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;#34;color:#c30&amp;#34;&amp;gt;&amp;amp;#34;color:#c30&amp;amp;#34;&amp;lt;/span&amp;gt;&amp;amp;gt;&amp;amp;amp;&amp;lt;span style=&amp;#34;color:#09f;font-style:italic&amp;#34;&amp;gt;#34;color:#366&amp;amp;amp;#34;&amp;amp;lt;/span&amp;amp;gt;&amp;amp;amp;gt;let&amp;amp;amp;lt;/span&amp;amp;amp;gt; me know in the comments.&amp;amp;amp;lt;/code&amp;amp;amp;gt;&amp;amp;amp;lt;/pre&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&amp;amp;lt;/code&amp;amp;gt;&amp;amp;lt;/pre&amp;amp;gt;&amp;amp;lt;/div&amp;amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</span></code></pre></div>

Recent Posts

Categories

About

A developer's journey. Still trying to figure out this software thing after several decades.