![]() OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_265-b01) You should get the following output: openjdk version "1.8.0_265" Once the repository is added, update the repository and install the Java 8 with the following command: apt-get update -yĪpt-get install adoptopenjdk-8-hotspot -y Next, add the Java 8 repository using the following command: add-apt-repository -yes Next, download and add the GPG key with the following command: wget -qO - | apt-key add. You will need to add the Java repository in your system.įirst, install the required dependencies using the following command: apt-get install apt-transport-https ca-certificates wget dirmngr gnupg software-properties-common -y If you want to install only Java Runtime Environment ( JRE), run the following command: apt-get install default-jre -y Install Java 8 On Debian 10īy default, Java 8 is not included in the Debian 10 default repository. OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Debian-1deb10u1, mixed mode, sharing) OpenJDK Runtime Environment (build 11.0.8+10-post-Debian-1deb10u1) You should get the following output: openjdk version "11.0.8" Once the installation has been completed successfully, you can verify the Java version using the following command: java -version You can install it by just running the following command: apt-get update -y By default, it is available in the Debian 10 default repository. A root password is set up in your server.Īt the time of writing this tutorial, the OpenJDK 11 is the long term support (LTS) version of Java.How to Install Oracle Java 11 on Debian 10.In this tutorial, we will learn the following: You can use Oracle Java for non-commercial use like personal use and development use. The OpenJDK is a free version of Java while the Oracle Java has a few additional commercial features. ![]() There are two major implementations of Java OpenJDK and Oracle Java. It is very popular for its robust features including, Secure, Distributed, Multithreaded, Portable and Platform independent. Java is a free, open-source and one of the most widely used Object Oriented Programming language developed by Sun Microsystems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |