To install Oracle (Sun) JDK 6 on Ubuntu do the following steps
First to get the add-apt-repository support do the following commandsudo apt-get install python-software-properties
Then
sudo add-apt-repository ppa:sun-java-community-team/sun-java6 sudo apt-get update sudo apt-get install sun-java6-jdk # to set this as default java version sudo update-java-alternatives -s java-6-sun
Finally do a test with java -version
Almost the complete description of this installation was taken from the blog post http://thilina.gunarathne.org/2011/02/installing-sun-oracle-jdk-6-on-ubuntu.html
These steps were successfully executed on Ubuntu 10.04 64-bit. However in the original post this was done on Ubuntu 10.10.
It might seem as a bit unnecessary to duplicate most of the steps from an already existing blog post. However this is more for my own reference and on occasion blogs and useful posts disappear.
'시스템 > linux' 카테고리의 다른 글
우분투 root 비밀 번호 리셋 (0) | 2012.11.06 |
---|---|
[펌]ubuntu 12.04 jdk6~7 수동및 자동설치 (0) | 2012.09.28 |
DDNS를 지원하지않을때 리눅스에 ddclient 프로그램 설치 (0) | 2011.09.21 |
Webalizer 설치법 (0) | 2011.09.19 |
WOL 리눅스에서 활성화 시키기 (0) | 2011.09.18 |