Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  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:
    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