How-to Install Oracle Java JDK 7 on OpenSUSE 13.x 32/64bit Linux Easy Guide

December 12th, 2013 by Stalker

Oracle JDK 7 Quick-Start for OpenSUSE 13.X Linux




The Guide Shows You How-to Install the Latest Oracle-Sun Java JDK 7 SE Release on OpenSUSE Linux 13.X Gnome3/KDE4 i686/x8664 Desktop.

Especially relevant: At the Same Time I’m also Illustrating here the Easiest Way of Installing the New Downloaded .rpm Packages with Dependencies on OpenSUSE Linux Desktops :)

To the Article Bottom Link to Installing the Firefox Java Plugin and Eclipse for Java Development on OpenSUSE Linux.

Take the Time of Carefully Reading and Executing the Instructions Contained Here and All should Work Like a Breeze :)

Install Oracle JDK 7 on OpenSUSE 13.X - Featured
  1. Download Oracle-Sun Java SE JDK 7 for Linux:

    Oracle JDK Linux x86/x64 .rpm
  2. Open Terminal Window
    (Press “Enter” to Execute Commands)
    Install Oracle JDK 7 on OpenSUSE 13.X - Open Terminal
  3. Installing Oracle Java JDK
    cd </path/2>
    su -c "zypper install jdk1.7*.rpm"
  4. Managing Multiples Java Versions with update-alternatives
    sudo su

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

    zypper install update-alternatives
    update-alternatives --install \
    /usr/bin/java java /usr/java/jdk1.7*/bin/java 1065
    
    update-alternatives --install \
    /usr/bin/javac javac /usr/java/jdk1.7*/bin/javac 1065
    
    update-alternatives --install \
    /usr/bin/jar jar /usr/java/jdk1.7*/bin/jar 1065
    
    update-alternatives --install \
    /usr/bin/javaws javaws /usr/java/jdk1.7*/bin/javaws 1065
    

    Checking or Setting the System Java Version in Use
    with

    update-alternatives --config java

    To Switch of Java Version Just Enter the Selection Number on First Column. :)
    Last Achieve the SuperUser session:

    exit
  5. Optionally Set Java Environment Variable

    su <myUser>
    nano $HOME/.bashrc

    Append:

    export JAVA_HOME=/usr/java/jdk1.<X.Y_uZ>

    Ctrl+x to Save & Exit from nano :)

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

    Install Oracle Java Firefox PlugIn
  7. Java 7 IDEs Installation on OpenSUSE

    How-to Install Eclipse for Java 7 Development on OpenSUSE: Installing Eclipse IDE for Java 7 on OpenSUSE.

    How-to Install Netbeans 7 IDE for Java 7 on OpenSUSE: Installing NetBeans IDE for Java 7 on OpenSUSE.

    How-to Install IntelliJ IDEA 2017 for Java 7 on OpenSUSE: Installing IntelliJ IDEA for Java 7 on OpenSUSE.

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