The Guide shows you Step-by-Step How to Install Oracle-Sun Java JDK 7 on Linux Slackware 14 32-bit KDE4 Desktop.
After Installing you will need to Update your System Env Variables and PATH to make Slackware Aware of the Java JDK Installation.
To the Article Bottom there is a Link for Quick Start with Java JDK 7 Development on Slackware 14.
And this Visual Guide includes the Basic Screenshots of All GUI Steps involved.
To the Post Bottom there are also Links to Get Installed Apache Tomcat7 for Linux Slackware.
-
Download Java JDK 7:
Java JDK 7 i586 tar.gz -
Right-Click on Archive > Open with Ark then Extract Into /tmp
-
Open Terminal Window
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
-
Relocate JDK 7
su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
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.
sudo 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 contents with
mv /tmp/jdk1.7* /usr/lib/jvm/
-
Updating System Env Variables and Path
nano /etc/profile
Append:
export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_[xy]/nexport 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 /etc/profile
Check if your New Java is Working :)
java -version
-
How to Install Oracle Java Browser Plug-In:
How to Install Apache Tomcat 7 Server on Linux Slackware.