install java debian 8

h‮tt‬ps://www.lautturi.com
install java debian 8

To install Java on Debian 8, you can follow these steps:

  1. Add the PPA (personal package archive) for OpenJDK to your system:
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:openjdk-r/ppa
  1. Update the package list:
sudo apt-get update
  1. Install OpenJDK:
sudo apt-get install openjdk-11-jdk
  1. Set the default Java version to Java 11:
sudo update-alternatives --config java
  1. Verify that Java 11 is installed and set as the default:
java -version

Note that these steps will install the OpenJDK version of Java 11. If you prefer to install the Oracle version of Java 11, you can download it from the Oracle website and install it manually.

For more information on installing Java on Debian 8, you can refer to the OpenJDK documentation or the Oracle documentation.

Created Time:2017-11-01 22:29:52  Author:lautturi