<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>how to install openjdk 13 on ubuntu 18.04 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/how-to-install-openjdk-13-on-ubuntu-18-04/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 10 Jan 2020 20:50:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install Oracle Java 13 on Ubuntu 18.04 / 16.04 &#038; Debian 10 / 9</title>
		<link>https://www.osradar.com/how-to-install-oracle-java-13-on-ubuntu-18-04-16-04-debian-10-9/</link>
					<comments>https://www.osradar.com/how-to-install-oracle-java-13-on-ubuntu-18-04-16-04-debian-10-9/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Fri, 10 Jan 2020 20:50:47 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[how to install openjdk 13 on ubuntu 18.04]]></category>
		<category><![CDATA[install openjdk 13 on debian 10]]></category>
		<category><![CDATA[install openjdk 13 on linxu]]></category>
		<category><![CDATA[java installation]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17203</guid>

					<description><![CDATA[<p>Java is a popular and well-known programming language used for developing mobile, web &#38; Desktop Applications among many other features and developments. JDK 13 is an open source available for Public in Production environments. The Java Platform lets you develop &#38; deploy java applications on servers, desktops &#38; IoT devices. In this article you will [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-oracle-java-13-on-ubuntu-18-04-16-04-debian-10-9/">How To Install Oracle Java 13 on Ubuntu 18.04 / 16.04 &amp; Debian 10 / 9</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Java is a popular and well-known programming language used for developing mobile, web &amp; Desktop Applications among many other features and developments. JDK 13 is an open source available for Public in Production environments. The Java Platform lets you develop &amp; deploy java applications on servers, desktops &amp; IoT devices. In this article you will cover the installation of Java 13 on Ubuntu 18.04.</p>



<h3><strong>Install OpenJDK 13 on Ubuntu 18.04</strong> <strong>&amp; Debian 10/9</strong></h3>



<p>To download the latest version of Java , go to the <a href="https://jdk.java.net/13/">official release</a> page of JDK 13.</p>



<pre class="wp-block-verse">sudo apt install -y curl<br>curl -O https://download.java.net/java/GA/jdk13/5b8a42f3905b406298b72d750b6919f6/33/GPL/openjdk-13_linux-x64_bin.tar.gz</pre>



<p>Use tar command to extract the downloaded packages.</p>



<pre class="wp-block-verse">tar xvf openjdk-13_linux-x64_bin.tar.gz</pre>



<p>Now, move the resulting folder to <strong>/opt</strong> directory.</p>



<pre class="wp-block-verse">sudo mv jdk-13 /opt/</pre>



<p>Configure Java Environment</p>



<pre class="wp-block-verse">sudo tee /etc/profile.d/jdk13.sh &lt;&lt;EOF<br> export JAVA_HOME=/opt/jdk-13<br> export PATH=\$PATH:\$JAVA_HOME/bin<br> EOF</pre>



<p>Source the file &amp; check java command</p>



<pre class="wp-block-verse">source /etc/profile.d/jdk13.sh</pre>



<p>Check the installed version.</p>



<pre class="wp-block-verse">$ echo $JAVA_HOME<br> /opt/jdk-13<br> $ java -version<br> openjdk version "13" 2019-09-17<br> OpenJDK Runtime Environment (build 13+33)<br> OpenJDK 64-Bit Server VM (build 13+33, mixed mode, sharing)</pre>



<h3><strong>Installing Java SE Development Kit 13 on Ubuntu 18.04 /Debian 10/9</strong></h3>



<p>Java SE Development Kit contains set of tools required by Developers to write, compile, run and debug Java Applications.</p>



<p>Update lists &amp; install wget </p>



<pre class="wp-block-verse">sudo apt update<br>sudo apt -y install wget</pre>



<p>Now, download the Java SE Development Kit 13 by running</p>



<pre class="wp-block-verse">wget --no-check-certificate -c --header  "Cookie: oraclelicense=accept-securebackup-cookie" "https://download.oracle.com/otn-pub/java/jdk/13+33/5b8a42f3905b406298b72d750b6919f6/jdk-13_linux-x64_bin.deb"</pre>



<p>In case, curl failed or unable to download the Java SE Development Kit 13, download the package manager manually from Oracle Downloads page. Then install it using dpkg command.</p>



<pre class="wp-block-verse">sudo dpkg -i jdk-13_linux-x64_bin.deb</pre>



<p>Remove the dependency issue if occurs by </p>



<pre class="wp-block-verse">sudo apt -f install</pre>



<p>Configure java environment.</p>



<pre class="wp-block-verse">cat &lt;&lt;EOF | sudo tee /etc/profile.d/jdk13.sh<br>
export JAVA_HOME=/usr/lib/jvm/jdk-13<br>
export PATH=\$PATH:\$JAVA_HOME/bin<br>
EOF</pre>



<p>Check if you have installed on your machine run the given command</p>



<pre class="wp-block-verse">$ source /etc/profile.d/jdk13.sh<br> $ java -version<br> java version "13-ea" 2019-09-17<br> Java(TM) SE Runtime Environment (build 13-ea+33)<br> Java HotSpot(TM) 64-Bit Server VM (build 13-ea+33, mixed mode, sharing)</pre>



<h3><strong>Testing Java Installation</strong></h3>



<p>Write a simple program which will print &#8220;HelloWorld&#8221; in Java</p>



<pre class="wp-block-verse">$ cat HelloWorld.java <br> public class HelloWorld {<br> <code>public static void main(String[] args) {     // Prints "Hello, World" to the terminal window.     System.out.println("Hello, World"); }</code><br> }</pre>



<p>Compile java code</p>



<pre class="wp-block-verse">javac HelloWorld.java</pre>



<p>Run the program</p>



<pre class="wp-block-verse">java HelloWorld<br>Hello, World</pre>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-oracle-java-13-on-ubuntu-18-04-16-04-debian-10-9/">How To Install Oracle Java 13 on Ubuntu 18.04 / 16.04 &amp; Debian 10 / 9</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-oracle-java-13-on-ubuntu-18-04-16-04-debian-10-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
