這個問題涉及 Ubuntu 對 Oracle JDK/JRE 的支援已經終止。
https://help.ubuntu.com/community/Java
習慣上我的解法是加 Debian 的 non-free
底下是我自己常用的 install script 一部份
------------------- 8< -------------------
if [ ! -x /usr/bin/add-apt-repository ]; then
sudo apt-get -f -y install python-software-properties
fi
if [ ! -x /usr/bin/java ]; then
echo "---- [1] Installing Sun Java JDK 6 ........ ----"
sudo add-apt-repository -y 'deb
http://free.nchc.org.tw/debian
stable non-free'
sudo apt-get update
cat << EOF | sudo /usr/bin/debconf-set-selections
sun-java6-bin shared/accepted-sun-dlj-v1-1 select true
sun-java6-jdk shared/accepted-sun-dlj-v1-1 select true
sun-java6-jre shared/accepted-sun-dlj-v1-1 select true
EOF
sudo apt-get -y --force-yes install sun-java6-jdk sun-java6-plugin
sudo add-apt-repository -r 'deb
http://free.nchc.org.tw/debian
stable non-free'
fi
------------------- 8< -------------------
- Jazz
> --
> You received this message because you are subscribed to the Google Groups
> "crawlzilla-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
crawlzilla-us...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>