Linux / Ubuntu SUN Java JRE valid installation

It happen that under Linux, I need with my browser a working java support , like a lot of normal penguin fan, with maximum java compatibility.

For this, I really prefer to have a standard Sun java JRE or JDK, but it doesn’t come pre-installed under my preferred ubuntu :-/

After having searched many time, a working procedure (forgetting how to, and searching again.. bla bla)

Here is the one that worked for me, for Ubuntu 10.04,  in a simple way this from original link :

 

First step will be to download jre-6u34-linux-i586.bin file, after having accepted the license !

http://www.oracle.com/technetwork/java/javase/downloads/jre6-downloads-1637595.html

then:

$ chmod u+x jre-6u34-linux-i586.bin
$ ./jre-6u34-linux-i586.bin
$ sudo mkdir -p /usr/lib/jvm
$ sudo mv jre1.6.0_34 /usr/lib/jvm/
$ sudo update-alternatives –install “/usr/bin/java” “java” “/usr/lib/jvm/jre1.6.0_34/bin/java” 1
$ sudo update-alternatives –install “/usr/lib/mozilla/plugins/libjavaplugin.so” “mozilla-javaplugin.so” “/usr/lib/jvm/jre1.6.0_34/lib/i386/libnpjp2.so” 1
$ sudo update-alternatives –install “/usr/bin/javaws” “javaws” “/usr/lib/jvm/jre1.6.0_34/bin/javaws” 1

open you firefox browser (no choice hu :) ) and have fun !

One thought on “Linux / Ubuntu SUN Java JRE valid installation

  1. Pingback: max