Make Java environment on Debian Lenny
(non free)
I stuck to ant for jruby.
1st.add it your /etc/apt/sources.list
deb http://mirrors.kernel.org/debian/ lenny main non-free
# this is your main mirrors when you install
deb-src http://mirrors.kernel.org/debian/ lenny main non-free
# this is your main mirrors when you install
deb http://security.debian.org/ lenny/updates main non-free
deb-src http://security.debian.org/ lenny/updates main non-free
2nd.
aptitude update
aptitude install sun-java6-jdk
3rd.if you need.
update-java-alternatives -s java-6-sun
echo 'JAVA_HOME="/usr/lib/jvm/java-6-sun"' | tee -a /etc/environment
0 件のコメント:
コメントを投稿