Script: http://dl.dropbox.com/u/4170695/scripts/install.sun-java6-jdk.sh
#!/bin/bash apt-get install debconf-utils # create answer file debconf-set-selections <<\EOF sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true EOF # add partner repository to lucid if [ "$(lsb_release -cs)" == "lucid" ]; then add-apt-repository "deb http://archive.canonical.com/ lucid partner" apt-get update -qq fi apt-get install -y sun-java6-jdk
Do you like this page? Then support it. Please click the AD below and visit the sponsor. Thank you!