How-to Install Oracle-Sun Java JDK 7 x64 on Linux Slackware 14 64bit KDE4 Desktop Easy Visual-Guide

December 20th, 2012 by Regaz

Install Oracle JDK 7 on Slackware 14.x 64bit




The Guide Shows You Step-by-Step How-to Install and Getting-Started with the Latest Oracle-Sun Official Java JDK 7 on Linux Slackware 14 x8664 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 Getting-Started with Java JDK 7 Development on Slackware 14.

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

To the Post Bottom there are also Links to Get Installed Apache Tomcat7 and Evernote for Linux Slackware.

Install Oracle JDK 7 on Slackware 14.x - Featured
  1. Download Oracle-Sun Java SE JDK:

    Oracle JDK x64 tar.gz
  2. Right-Click on Archive > Open with Ark then Extract Into /tmpInstall Oracle JDK 7 on Slackware 14.x - Extraction 1
  3. Open Terminal Window
    (Press “Enter” to Execute Commands)
    Install Oracle JDK 7 on Slackware 14.x - Kde4 Open Terminal
  4. Relocate Java JDK 7
    su 

    If Got “User is Not in Sudoers file” then Look: Solution

    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 System Env Variables and Path

    nano /etc/profile

    Append:

    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 /etc/profile

    Check if your New Java is Working :)

    java -version
  6. How-to Install Oracle Java Browser Plug-In:

    Install Oracle Java Firefox PlugIn

  7. How-to Install Apache Tomcat 7 Server on Linux Slackware

    How Install Tomcat7 for Slackware
(Visited 15 times, 1 visits today)

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


Comments are disabled