2007年2月4日 星期日

Eclipse jvm path 設定

在 Linux 下有些 Distribution 會自行安裝 GCJ, 在我前幾篇有界介紹到一個指令 : update-alternatives --config java , 但在我使用 Eclipse 時意外的發現 Eclipse 仍舊使用著 GCJ, 因此, 有了下列的方式.

$ cd /etc/eclipse
$ sudo vi java_home
接著會發現第一行出現
/usr/lib/jvm/java-gcj
把第一行改成
/usr/lib/jvm/java-6-sun-1.6.0.00/
這是我的安裝目錄, 請填入您系統上的 Java 安裝目錄

最後
$ eclipse
searching for compatible vm...
testing /usr/lib/jvm/java-6-sun-1.6.0.00/...found
大功告成

2007年2月3日 星期六

Ubuntu Dapper 6.06 Source List

####
# Dapper
####

# apt.ubtw

deb http://apt.ubuntu.org.tw/ubuntu dapper-updates main restricted universe multiverse
deb-src http://apt.ubuntu.org.tw/ubuntu dapper-updates main restricted universe multiverse
deb http://apt.ubuntu.org.tw/ubuntu dapper main universe multiverse restricted
deb-src http://apt.ubuntu.org.tw/ubuntu dapper main universe multiverse restricted

deb http://apt.ubuntu.org.tw/ubuntu dapper-backports main universe multiverse restricted
deb-src http://apt.ubuntu.org.tw/ubuntu dapper-backports main universe multiverse restricted

# deb http://apt.ubuntu.org.tw/ubuntu dapper-proposed main universe multiverse restricted
# deb-src http://apt.ubuntu.org.tw/ubuntu dapper-proposed main universe multiverse restricted

deb http://apt.ubuntu.org.tw/ubuntu dapper-security main restricted universe multiverse
deb-src http://apt.ubuntu.org.tw/ubuntu dapper-security main restricted universe multiverse


# ubtw
deb http://apt.ubuntu.org.tw ubtw/
deb http://apt.ubuntu.org.tw ubtw-dapper/
#deb http://apt.ubuntu.org.tw ubtw-testing/

# tw.archive
deb http://tw.archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
#deb http://tw.archive.ubuntu.com/ubuntu/ dapper-proposed main restricted universe multiverse
#deb-src http://tw.archive.ubuntu.com/ubuntu/ dapper-proposed main restricted universe multiverse


# official security updates
deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse