Navigation

      Tweaking Ubuntu‎ > ‎

      Reinstall Sun java in Ubuntu

      Read all about it here

      or use these commands

      • put the line
        deb http://www.duinsoft.nl/pkg debs all
        in the file /etc/apt/sources.list, either using Software Sources from your System Menu or by editing the file in an editor (as root)
        or:
        put this line in a file named (e.g.) duinsoft.list in the directory /etc/apt/sources.list.d
      • import the gpg key with the command (all on one line)
        sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 5CB26B26
      • (the last gave an error on my system)
      • enter the commands (two lines)
        sudo apt-get update
        sudo apt-get install update-sun-jre
        or use Synaptic to install the package
      • installation of the Runtime Environment will follow automatically

      A second solution is from these sources from Martin Wimpress:
      You can update your system withhis  unsupported packages from this untrusted PPA 
      by adding ppa:flexiondotorg/java to your system's Software Sources. (Read about installing)         

      It offers among others:

      The PPA currently publishes Sun Java 6 1.6.0.30 for:

        - Lucid i386/amd64
        - Maverick i386/amd64
        - Natty i386/amd64
        - Oneiric i386/amd64
        - Precise i386. However, amd64 is failing to build on Precise. Martin will try and fix this in due course.

      To Sun Java 6 , previously instaled via packages, do the following.

       sudo apt-add-repository ppa:flexiondotorg/java
       sudo apt-get update
       sudo apt-get dist-upgrade

      To install Sun Java 6 JRE do the following:

       sudo apt-add-repository ppa:flexiondotorg/java
       sudo apt-get update
       sudo apt-get install sun-java6-jre

      To install Sun Java 6 browser plugin do the following:

       sudo apt-add-repository ppa:flexiondotorg/java
       sudo apt-get update
       sudo apt-get install sun-java6-plugin

      To install Sun Java 6 JDK do the following:

       sudo apt-add-repository ppa:flexiondotorg/java
       sudo apt-get update
       sudo apt-get install sun-java6-jdk



      Comments