How to Install Oracle Java JDK 7 on openSUSE 12.3 Gnome3 32/64-bit Easy Guide

April 26, 2013 | By Regaz | Filed in: Uncategorized.

Install Oracle JDK 7 on openSUSE 12.3 Gnome

The Guide Shows You How to Install the Latest Oracle-Sun Java JDK 7 SE 32-bit Release for openSUSE Linux 12.3 Gnome3 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 Gnome3 Desktop :)

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

The Screenshots of Installation Correspond to the Install on a OpenSuse 12.3 Gnome3 Desktop but the Procedure on KDE4, XFCE… Should be Near Identical.

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

Java on openSUSE
  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)
    Linux OpenSuse 12 Gnome 3 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
    su -c "zypper install update-alternatives"

    Find the Java JDK Version in Use:

    java -version

    To Switch the Java JDK Version:

    su -c "update-alternatives --config java"
  5. Optionally Set Java Environment Variable

    su <myUser>
    nano $HOME/.bashrc


    export JAVA_HOME=/usr/lib/jvm/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. How to Install Eclipse for Java Developers on openSUSE

    Install Eclipse Java for openSUSE

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