Difference between revisions of "Ubuntu 10.04 java"

From Wiki2
(Created page with "===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 ...")
 
Line 5: Line 5:


If you need the real Sun JRE you can:
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
#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:  
#download java-jre with duinsoft's install script:  
;gunzip it
#gunzip it
;run the install script
#run the install script
;find out whereis
#find out whereis
;link to it from /usr/local/bin
#link to it from /usr/local/bin
;resart the shell
#restart the shell
# 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
  # gunzip update-sun-jre.bin.gz
  # gunzip update-sun-jre.bin.gz

Revision as of 13:49, 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
  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