How-to install Oracle JRE 8 on Debian Stretch 9 i386/amd64 Linux Easy Visual-Guide

April 17th, 2014 by thelinuxevangelist

Install Oracle JRE 8 on Debian Stretch 9 32/64bit




The Linux Tutorial Shows You in Easy-Steps How-to Install and Getting-Started with the Latest Oracle-Sun Official Java SE JRE 8 i586/x64 for Debian Stretch 9 32/64bit Gnome/Kde/Xfce/Lxde Linux Desktop.

After Installing you will need to Use the update-alternatives Tool to Update your System Java to 1.8 JRE8.

To the Oracle JRE 8 Installation Debian Stretch 9 Bottom there is a Link to Installing Oracle JDK 8 and Eclipse for Java Developers for Debian Linux.

Furthermore to Make the Process Easier to Visualize the Post Includes the Basic Screenshots of the Steps Involved.

The Content and Details of How-to Install Oracle JRE 8 on Debian Stretch 9 are Expressly Reduced to Give Focus Only to the Essentials Instructions and Commands and Make the Tut Easier to Understand ;)

Install Oracle JRE 8 on Debian Stretch 9 - Featured
  1. Download Oracle Java SE JRE8 for Linux:

    Oracle JRE8 i586/x8664 tar.gz
  2. Open a Terminal Window
    (Press “Enter” to Execute Commands)

    Install Oracle JRE 8 on Debian Stretch 9 - Open Terminal Window

  3. Double-Click on Archive and Extract into /tmp

    Or from Shell:

    tar xvzf jre-8*.tar.gz -C /tmp/

    Install Oracle JRE 8 on Debian Stretch 9 - Extraction

  4. Relocate Oracle JRE 8
    su 
    
    if [ ! -d "/usr/lib/jvm" ]; then mkdir /usr/lib/jvm; fi
    mv /tmp/jre1.8* /usr/lib/jvm/
    
  5. Update System Java to Oracle JRE8
    update-alternatives --install \
    /usr/bin/java java /usr/lib/jvm/jre1.8*/bin/java 1065
    
    update-alternatives --install \
    /usr/bin/javaws javaws /usr/lib/jvm/jre1.8*/bin/javaws 1065
    

    How-to Install Latest Eclipse for Java SE on Linux Debian:

    Install Eclipse for Java Debian

    Checking or Setting the System Java Version in Use
    with

    update-alternatives --config java

    To Switch of Java Version Just Enter the Selection Number on First Column. :)
    Last Achieve the SuperUser session:

    exit
  6. How-to Install Oracle-Sun JDK 8 on Debian Linux:

    Install Oracle JDK8 for Debian

    Now Thanks to Oracle-Sun Corporation You are Able to Successfully Start with Java JRE 8 Use & Development.

Tags: , , , , , , , , , , , , ,