Difference between revisions of "Ubuntu 10.04 java"

From Wiki2
 
Line 9: Line 9:
#find out whereis (I 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:

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