How-to install Oracle JRE 7 on Debian Squeeze 6 32/64bit Linux Easy Guide

February 28th, 2014 by thelinuxevangelist

Install Oracle JRE 7 on Debian 6 Squeeze




Welcome Debian User! The Tutorial Shows You in Easy-Steps How-to Install Oracle-Sun Java SE JRE 7 for Debian Linux 6 Squeeze 32/64bit KDE/Gnome/Lxde/Xfce Desktop.

And to SetUp Oracle JRE on Debian you will need to Use the update-alternatives Tool to Update your System Java to 1.7 JRE7.

Furthermore Included in Oracle JRE 7 Installation Debian Squeeze 6 you’ll find Link to Installing Oracle JDK 7 and Eclipse for Debian Linux.

Finally the Content and Details of How-to Install Oracle JRE 7 on Debian Squeeze 6 are Expressly Essentials to Give Focus Only to the Essentials Instructions and Commands and Make the Tut Easier to Understand ;)

Install Oracle JRE 7 on Debian Squeeze 6 32/64bit - Featured

How-to Install Oracle-Sun Java JDK on Debian:
SetUp Oracle Java JDK 7 on Debian.

  1. Download Oracle Java SE JRE7 for Linux:

    Oracle JRE7 i586/x8664 tar.gz
  2. Double-Click/Right-Click on JRE7 Archive and Extract into /tmp

    Install Oracle JRE 7 on Debian Squeeze 6 32/64bit - Extraction

  3. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Install Oracle JRE 7 on Debian Squeeze 6 32/64bit - Kde Open Terminal
  4. Relocate Oracle JRE 7
    sudo su

    If Got “User is Not in Sudoers file” then Look: Solution
    To Make a jvm Directory Only if Not already there
    (You can directly copy & paste the commands into the terminal)

    if [ ! -d "/usr/lib/jvm" ]; then mkdir /usr/lib/jvm; fi

    Set the root superUser as holder

    chown -R root:root /tmp/jdk1.7*

    Then to shift the Oracle JDK 7 contents

    mv /tmp/jdk1.7* /usr/lib/jvm/
    
  5. Installing Oracle Java JRE7
    update-alternatives --install \
    /usr/bin/java java /usr/lib/jvm/jre1.7*/bin/java 1065
    
    update-alternatives --install \
    /usr/bin/javaws javaws /usr/lib/jvm/jre1.7*/bin/javaws 1065
    

    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. Now Thanks to
    Oracle-Sun Corporation
    You are Able to Successfully Start with Java JRE 7 Use & Development.

    How-to Install Latest Eclipse for Java Developers on Debian:

    Install Eclipse Java for Debian

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