Page tree
Skip to end of metadata
Go to start of metadata

OpenJDK is available for Debian 8 via backports. Thus if you wish to use OpenJDK 8, install ODN as described in Installation and Upgrade Manual and then:

  1. Add jessie-backports repository to your apt configuration:
    echo "deb jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
  2. Update apt sources:
    apt-get update
  3. Install OpenJDK 8:
    apt-get install -t jessie-backports openjdk-8-jre-headless ca-certificates-java
  4. Configure OpenJDK 8 as default:
    update-alternatives --config java
    and enter the number for selection belonging to version 8


  • No labels