Update-java-alternatives

Update-java-alternatives

update-java-alternatives

Base of all Java packages

Maintainer: Debian Java Maintainers



Section: java

Install update-java-alternatives

  • Debian apt-get install java-common Click to copy
  • Ubuntu apt-get install java-common Click to copy
  • Alpine OS apk add java-common Click to copy
  • Kali Linux apt-get install java-common Click to copy
  • Raspbian apt-get install java-common Click to copy

java-common

Base of all Java packages

This package must be installed in the system if a Java environment is desired. It covers useful information for Java users in Debian GNU/Linux, including: * The Java policy document which describes the layout of Java support in Debian and how Java packages should behave. * The Debian-Java-FAQ which provides information on the status of Java support in Debian, available compilers, virtual machines, Java programs and libraries as well as on legal issues. * Information on how to create dummy packages to fulfill java2 requirements.

Installation of latest update-java-alternatives command is available for Debian, Ubuntu, Alpine, Kali and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.