Ubuntu 10.04 java

From Wiki2

Ubuntu 10.04 java

since

$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid  partner"

DOESN'T WORK

If you need the real Sun JRE you can:

  1. goto dir like /usr/local/src or wherever you put stuff you install that's not apt-get
  2. download java-jre with duinsoft's install script:
  3. gunzip it
  4. run the install script
  5. find out whereis (found it got installed to /opt/java/32/jre1.7.0_09/bin/java)
  6. link to it from /usr/local/bin
  7. restart the shell
# cd usr/local/src
# lynx http://www.duinsoft.nl/pkg/pool/all/update-sun-jre.bin
# gunzip update-sun-jre.bin.gz
# sh update-sun-jre.bin
# cd /usr/local/bin
# ln -s /opt/java/32/jre1.7.0_09/bin/java