Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: https://serverfault.com/questions/830636/cannot-install-openjdk-8-jre-headless-on-debian-jessie

...

  1. Add jessie-backports repository to your apt configuration:
    echo "deb http://ftp.de.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
  2. Update apt sources:
    aptitude apt-get update
  3. Install OpenJDK 8:
    aptitude install 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

...