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;)
-
Download Java JDK 7:
- Right-Click on Archive > Open with Ark then Extract Into /tmp
- Open Terminal Window
- Relocate JDK 7
mkdir /usr/lib/jvm
mv /tmp/jdk1.7.* /usr/lib/jvm
- 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
-
Getting-Started: