How-to Install Oracle-Sun Java JDK 7 on Linux Chakra 32bit Desktop Easy Visual-Guide

December 2nd, 2012 by Regaz

Oracle JDK Quick-Start for Linux Chakra




This Article Shows You Step-by-Step How-to Install and Getting-Started with the Latest Oracle-Sun Official Java JDK 7 32bit on Linux Chakra KDE4 i686 Desktop.

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

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

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

The Content give Focus Only to the Essentials Instructions and Commands to make it Easier to Understand;)

Java on Chakra
  1. Download Oracle-Sun Java SE JDK:

    Oracle JDK i686 tar.gz
  2. Right-Click on Archive > Open with Ark then Extract Into /tmpJava JDK 7 tar.gz Extraction 1
  3. Open Terminal Window
    (Press “Enter” to Execute Commands)
    Linux Kde4 Open Terminal
  4. Relocate JDK 7
    if [ ! -d "/usr/lib/jvm" ]; then mkdir /usr/lib/jvm; fi

    The above command is used to create a jvm directory if not already there.

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

    Reiterate the Execution Permission over the Java binaries

    chmod -R +x /tmp/jdk1.7*/bin

    Finally Shift the Java content with

    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:

    bash

    Then Check if your New Java is Working :)

    java -version
  6. Optionally Set Java Environment Variable

    su <myUser>
    nano $HOME/.bashrc

    Append:

    export JAVA_HOME=/usr/lib/jvm/jdk1.<X.Y_uZ>

    Ctrl+x to Save & Exit from nano :)

    source $HOME/.bashrc
  7. How-to Install Oracle Java Browser Plug-In:

    Install Oracle Java Firefox PlugIn

(Visited 9 times, 1 visits today)

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


Comments are disabled