Difference between revisions of "Ubuntu 10.04 java"
From Wiki2
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
===Ubuntu 10.04 java=== | ===Ubuntu 10.04 java=== | ||
Since $ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" DOESN'T WORK | |||
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 so your computer can find it | ||
# cd usr/local/src | # cd usr/local/src | ||
# lynx http://www.duinsoft.nl/pkg/pool/all/update-sun-jre.bin | # lynx http://www.duinsoft.nl/pkg/pool/all/update-sun-jre.bin |
Latest revision as of 13:54, 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:
- goto dir like /usr/local/src or wherever you put stuff you install that's not apt-get
- download java-jre with duinsoft's install script:
- gunzip it
- run the install script
- 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
- restart the shell so your computer can find it
# 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