Difference between revisions of "Ubuntu 10.04 java"

From Wiki2
Line 1: Line 1:
===Ubuntu 10.04 java===
===Ubuntu 10.04 java===
since
Since $ sudo add-apt-repository "deb http://archive.canonical.com/ lucid  partner" DOESN'T WORK
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid  partner"
DOESN'T WORK


If you need the real Sun JRE you can:
If you need the real Sun JRE you can:
Line 9: Line 7:
#gunzip it
#gunzip it
#run the install script
#run the install script
#find out whereis (found it got installed to /opt/java/32/jre1.7.0_09/bin/java)
#find out whereis (I found it got installed to /opt/java/32/jre1.7.0_09/bin/java)
#link to it from /usr/local/bin
#link to it from /usr/local/bin
#restart the shell
#restart the shell

Revision as of 13:53, 12 December 2012

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 (I 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