How To Install Java 7 Update 40 (7U40) On OpenSUSE 12.3 And OpenSUSE 12.2

Hello Linux Geeksters. As you may know, Oracle Java 7 has been got its 40th update, reaching version Oracle Java 7 Update 40 (7U40). For a full list of improvements see the official changelog. You can find the bugfixes here.

In this article I will show you how to install the Oracle Java 7 Update 40 (7U40) on OpenSUSE 12.3 and OpenSUSE 12.2.

http://nfgk.files.wordpress.com/2013/09/java.png?w=376

Follow the instructions for your system’s architecture, in order to get a successful installation.

How to install Oracle Java 7 Update 40 (7U40) on 32 bit OpenSUSE 12.3 and OpenSUSE 12.2 systems:

$ wget -c download.oracle.com/otn-pub/java/jdk/7u40-b43/jre-7u40-linux-i586.rpm
$ sudo rpm -Uvh jre-7u40-linux-i586.rpm
$ sudo update-alternatives --install "/usr/bin/java" "java" "/usr/java/jre1.7.0_40/bin/java" 1
$ sudo update-alternatives --set java /usr/java/jre1.7.0_40/bin/java
$ sudo update-alternatives --install "/usr/lib/browser-plugins/javaplugin.so" "javaplugin" "/usr/java/jre1.7.0_40/lib/i386/libnpjp2.so"
$ sudo update-alternatives --set javaplugin /usr/java/jre1.7.0_40/lib/i386/libnpjp2.so

How to install Oracle Java 7 Update 40 (7U40) on 64 bit OpenSUSE 12.3 and OpenSUSE 12.2 systems:

$ wget -c download.oracle.com/otn-pub/java/jdk/7u40-b43/jre-7u40-linux-x64.rpm
$ sudo rpm -Uvh jre-7u40-linux-x64.rpm
$ sudo update-alternatives --install "/usr/bin/java" "java" "/usr/java/jre1.7.0_40/bin/java" 1
$ sudo update-alternatives --set java /usr/java/jre1.7.0_40/bin/java
$ sudo update-alternatives --install "/usr/lib64/browser-plugins/javaplugin.so" "javaplugin" "/usr/java/jre1.7.0_40/lib/amd64/libnpjp2.so" 1
$ sudo update-alternatives --set javaplugin /usr/java/jre1.7.0_40/lib/amd64/libnpjp2.so

Share and Enjoy

  • Twitter
  • Facebook
  • Google Plus
  • Email
  • RSS
Tagged with: , , , , , ,
Posted in The Linux and Unix Articles!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!