caspr.blogg.se

Install jdk 8 ubuntu
Install jdk 8 ubuntu









install jdk 8 ubuntu

Now, let's verify the installation: $ java -version Let's install OpenJDK 8 from the “Main” repository with apt: $ sudo apt update It's supported by Canonical - the same company that maintains Ubuntu itself. The “Main” repository is available by default on all Ubuntu systems. Of course, we can also head to the OpenJDK website, grab a package there, and install it the same way we've seen in the previous section.īut using the apt tooling and the “Main” repository provides some benefits. For this reason, we can find an up-to-date version of OpenJDK 8 in the “Main” repository on most of the supported Ubuntu versions.

install jdk 8 ubuntu

JDK 8 is an LTS version that has been around for a while.











Install jdk 8 ubuntu