Java Runtine Environment (JRE) Debian 5

How to install Java Runtime Environment (JRE) on Debian 5

  1. Enable the contrib and non-free Debian repositories.
    1. Select the System > Administration > Software Sources menu item.
    2. Check the following check boxes:
      DFSG-compatible Software with Non-Free Dependencies (contrib)
      Non-DFSG-compatible Software (non-free)
    3. Click Close
    4. Click Reload
  2. Install the Java Runtime Environment (JRE)
    apt-get update
    apt-get upgrade
    apt-get -y install sun-java6-jre
  3. Update Debian to use the Java Runtime Environment (JRE)
    update-java-alternatives -s java-6-sun

Open Source Software: