

sudo apt -y install oracle-java8-installer Sudo add-apt-repository -yes ppa:webupd8team/java sudo apt install -y software-properties-common Here we would like first to introduce how to install Java 8 on Ubuntu 16.04, you can first add the PPA repository for Java. Only if you download and install openjdk Java software packages, JRE (runtime environment) and/or JDK (Java development kits), either from the Debian repositories or from the Oracle openjdk download page, you can be sure that you may use these openjdk software packages freely without needing a paid license subscription.Normally Oracle Java is packed with both Java Runtime (JRE) and JDK. Using Oracle Java 8u202 and older for free cannot be recommended, because these old Java versions hold a big number of known security vulnerabilities, which have been fixed only in the newer Oracle Java versions, which are no longer available for free. You will know whether you are a subscriber or not. At the top, you will find the statement that 8u321 is only available to Oracle Java SE subscribers.

Here is the Oracle page about the Java 8u321 release, which you mentioned: Java SE Development Kit 8u321. this Oracle webpage, please, Java SE 8 Archive Downloads (JDK 8u211 and later), for the precise licensing conditions and terms. Oracle Java 8u211 and newer is only available to paying Oracle customers.Ĭf. the Oracle Java packages, JRE and JDK, available from the official Oracle Java download pages, which are newer than 8u202.Īny Oracle Java package, JRE (Java runtime) and JDK (Java development kit, which by the way also includes a JRE), starting with version 8u211, is no longer available for free.

