Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode) Java(TM) SE Runtime Environment (build 1.8.0_201-b09) Let’s use the following command to verify installed version of Java on your system. Step 3 – Verify Java Installationįinally, you have successfully installed Oracle Java on your Debian system. The installer will prompt for accept Oracle terms in order to continue Java installation on Debian. Sudo apt-get install oracle-java8-installer Run the following commands to update apt-cache and then install Java 8 on Debian system using the apt-get package manager. You are all set to start Java installation on Debian.
sudo apt-key adv -keyserver -recv-keys EEA14886 Now import GPG key on your system for validating packages before installing them. sudo vim /etc/apt//java-8-debian.listĪnd add following content in it. You need to add that PPA repository to your system for installing Java 8 on Debian.Ĭreate a new Apt configuration file /etc/apt//java-8-debian.list, and edit in text editor. The webupd8 team has built a Java installer package for Debian systems. Read this => Install Java 11 on Debian 10 (Buster).Read this => Install Java 11 on Debian 9 (Stretch).You can use below link to install Java 11.
IMPORTANT: Java 8 is no longer available to download publically.