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

December 12, 2013 | By Stalker | Filed in: Tutorial.

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

    sudo 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

    update-alternatives --config java

    And for the Java Compiler instead:

    sudo update-alternatives --config javac

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

  5. Optionally Set Java Environment Variable

    su <myUser>
    nano $HOME/.bashrc


    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 2019 for Java 7 on openSUSE: Installing IntelliJ IDEA for Java 7 on openSUSE.

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