Sunday, December 2, 2012

How-to Install Oracle-Sun Java JDK 7 x86 on Linux Chakra 2012 Archimedes/Claire 32bit KDE4 Desktop Easy Visual-Guide

The Tutorial Show Step-by-Step How-to Install and Getting-Started with the Latest Oracle-Sun Official Java JDK 7 on Linux Chakra 2012 Archimedes/Claire KDE4 i686 Desktop.

 

After Installing you will need to Update your System Env Variables and PATH to make Chakra Aware of the Java JDK7 Installation.

 

To the Post Bottom there is a Link for Quick Getting-Started with Java JDK 7 Development on Chakra 2012.

 

To Make the Entire Process Easier to Visualize and Retain the Article Includes the Basic Screenshots of the Essentials Steps Involved.

 

The Content and Details are Expressly Reduced to Give Focus Only to the Essentials Instructions and Commands and Make Tut more Easy & Digestive;)

Java on Chakra
  1. Download Java JDK 7:

    Java JDK 7 i586 tar.gz
  2. Right-Click on Archive > Open with Ark then Extract Into /tmp Java JDK 7 tar.gz Extraction 1
  3. Open Terminal Window
    Linux Kde4 Open Terminal
  4. Relocate JDK 7
    mkdir /usr/lib/jvm
    mv /tmp/jdk1.7.* /usr/lib/jvm
  5. Updating Env Variables and Path

    Exit from Root Shell

    exit

    Exit Bash Configuration File

    nano ~/.bashrc

    Insert:

    export JAVA_HOME="/usr/lib/jvm/jdk1.7.0_<XY>"
    export PATH="$JAVA_HOME/bin:$PATH"

    Just Substitute the Java JDK Update Version to <XY>.

    Ctrl+x to Save and Exit from nano

    To Load New Env. Settings:

    source ~/.bashrc

    Check if your New Java is Working :)

    java -version
  6. Getting-Started:

    Getting-Started Quickly with JDK7