 <p><a href="https://www.digitalocean.com/community/tutorials/how-to-manually-install-oracle-java-on-a-debian-or-ubuntu-vps" rel="nofollow">This post</a>, which I found by Googling "download jdk8 linux 64 ubuntu", answers your question. Use:</p> <pre><code>$ wget --header "Cookie: oraclelicense=accept-securebackup-cookie" \ http://download.oracle.com/otn-pub/java/jdk/8u20-b26/jdk-8u20-linux-x64.tar.gz </code></pre> <p>and follow instructions to install it.</p>