If you want to use java on a virtual private server, you will quickly learn that it will not install without complications. To make it install, do this:
apt-get install sun-java5-jdk # the first time, this will fail
nano /var/lib/dpkg/info/sun-java5-bin.postinst
Comment out this line:
$basedir/bin/java -client -Xshare:dump > /dev/null
apt-get install sun-java5-jdk

It will now install without fail. Enjoy. :-)

Related posts:

Tags: , ,

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.