How to Install Oracle JDK 8 on Slackware 13.x-14.x Easy Guide

March 20, 2014 | By the+gnu+linux+evangelist.

Install Oracle JDK 8 on Slackware 13.X/14.X i386/amd64

The Guide shows you in Easy-Steps How to Install Oracle-Sun Java SE JDK 8 i586/x8664 for Slackware Linux Desktop.

To SetUp you will need to Update the System Environments Variables to Java 1.8 JDK.

Some Java 8 Features:

  • LAMBDA Expressions Programming
  • The Stream API
  • The Nashorn Javascript Engine

To the How to Download and Install Oracle JDK 8 in Slackware Linux Bottom there is a Link for Quick Start with Java JDK 8 Development and also to Install the Java Web-Server Tomcat 7 for Slackware Linux.

Moreover, to Make the Process Easier to Visualize the Post Includes the Basic Screenshots of the Steps Involved.

The Contents and Details of How to Download and Install Oracle JDK 8 in Slackware Linux are Expressly Minimal to Give Focus Only to the Essentials Instructions and Commands and Make the Tut Easier to Understand ;)

How to Install Oracle JDK 7 in Ubuntu 24.04 – Step-by-step
  1. Download Oracle Java SE JDK8 for Linux:

    Oracle JDK8 i586/x8664 tar.gz
  2. Open Terminal Window
    (Press “Enter” to Execute Commands).

    Cmd+Alt+t and Search for “term”

    Linux Slackware 12 KDE4 Open Terminal

    In case first see: Terminal QuickStart Guide.

  3. Double-Click on the JDK8 tar.gz Archive and Extract into
    /tmp

    Install Oracle JDK 8 on Slackware 13.X/14.X - Java JDK 8 tar.gz Extraction Path

    Or from Shell:

    tar xvfz ~/Downloads/jdk-8*.tar.gz -C /tmp/
  4. Relocate Java JDK 8

    sudo 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
    sudo chown -R root:root /tmp/jdk1.8*

    Reiterate the Execution Permission over the Java binaries

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

    Finally, Shift the Java contents with

    mv /tmp/jdk1.8* /usr/lib/jvm/
    
  5. Updating System Env Variables and Path

    nano /etc/profile

    Append:

    export JAVA_HOME=/usr/lib/jvm/jdk1.8.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
  6. How to Install Eclipse Java on Slackware

    Eclipse Java IDE Install
  7. Now Thanks to Oracle-Sun Corporation
    you are able to Successfully Start Up with Java 8 Development.

    Welcome to Java 8 Challenge! ;)

    Installing Apache Tomcat 8 Server on Slackware

    Installing Tomcat 8 for Slackware

QuickChic Theme • Powered by WordPress