How-to install Oracle JRE 7 on Xubuntu 12.04 Precise LTS 32/64-bit Linux Easy Visual-Guide

February 23, 2014 | By thelinuxevangelist | Filed in: Tutorial.

Install Oracle JRE 7 on Xubuntu 12.04 Precise 32/64-bit

The Guide Shows You in Easy-Steps How-to Install Oracle-Sun Java SE JRE 7 i586/x64 for Xubuntu Linux 12.04 Precise Pangolin LTS i386/amd64 Unity Desktop.

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

To the Oracle JRE 7 Installation Xubuntu 12.04 Precise Bottom there is a Link to Installing Oracle JDK 7 and Eclipse for Java Developers for Xubuntu Linux.

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

The Contents and Details of How-to Install Oracle JRE 7 on Xubuntu 12.04 Precise 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 Xubuntu 12.04 Precise - Featured
  1. Download Oracle Java SE JRE7 for Linux:

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

    Install Oracle JRE 7 on Xubuntu 12.04 Precise - tar.gz Archive Extraction

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

    Install Oracle JRE 7 on Xubuntu 12.04 Precise Open Terminal Window

  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 howner

    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

    How-to Install Latest Eclipse for Java SE on Xubuntu:

    Install Eclipse for Java Xubuntu

    Checking or Setting the System Java Version in Use

    update-alternatives --config java

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

  6. How-to Install Oracle-Sun JDK 7 on Xubuntu Linux:

    Install Oracle JDK for Xubuntu

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

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