<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Jdk on Roman Dushko - Personal blog</title><link>https://www.rodush.com/tags/jdk/</link><description>Recent content in Jdk on Roman Dushko - Personal blog</description><image><title>Roman Dushko - Personal blog</title><url>https://www.rodush.com/images/rodush-og.png</url><link>https://www.rodush.com/images/rodush-og.png</link></image><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 27 Aug 2014 07:29:58 +0000</lastBuildDate><atom:link href="https://www.rodush.com/tags/jdk/index.xml" rel="self" type="application/rss+xml"/><item><title>Install proprietary Oracle JDK in Debian 7.0 Wheezy</title><link>https://www.rodush.com/2014/08/install-proprietary-oracle-jdk-in-debian-7-0-wheezy/</link><pubDate>Wed, 27 Aug 2014 07:29:58 +0000</pubDate><guid>https://www.rodush.com/2014/08/install-proprietary-oracle-jdk-in-debian-7-0-wheezy/</guid><description>&lt;p&gt;This is a YAP (yet another post) about how one can manually install Oracle’s proprietary JDK/JRE version (in Debian 7.0 Wheezy as an example).&lt;/p&gt;
&lt;p&gt;First of all, download fresh version of JDK/JRE from the &lt;a href="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html" title="jdk8-downloads"&gt;Oracle website&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Copy archive to desired location, in the following example we will use&lt;/p&gt;
&lt;p&gt;&lt;code&gt;/usr/lib/jvm&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;as an installation source directory.&lt;/p&gt;
&lt;p&gt;Unpack the archive and run next commands:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk/bin/java &lt;span style="color:#ae81ff"&gt;1071&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo update-alternatives --install /usr/bin/javac javac /media/mydisk/jdk/javac &lt;span style="color:#ae81ff"&gt;1071&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo update-alternatives --install /usr/bin/jcontrol jcontrol /media/mydisk/jdk/bin/jcontrol &lt;span style="color:#ae81ff"&gt;1071&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You may need read man pages for update-alternatives to check out the parameters and what they mean.&lt;/p&gt;</description></item></channel></rss>