<$BlogRSDURL$>

Random notes from yet another Finnish nerd. This blog reflects mostly my life with computers and stuff, rather than my real life.

November 27, 2004

Sun JDK 1.5.0 on Debian

Now that Java2 5.0 is final, I decided to upgrade my Debian hosts to use it. The correct way of installing Sun Java on Debian is something like this:

# apt-get install java-common equivs
# ./jdk-1_5_0-linux-i586.bin
# mv jdk1.5.0 /usr/local/lib
# ln -s /usr/local/lib/jdk1.5.0 /usr/local/lib/jdk
# mkdir pkg
# cd pkg
# cp /usr/share/doc/java-common/dummy-packages/*.control .
# equivs-build java1-runtime-dummy.control
# equivs-build java-compiler-dummy.control
# equivs-build java2-compiler-dummy.control
# equivs-build java2-runtime-dummy.control
# equivs-build java-virtual-machine-dummy.control
# dpkg -i *.deb
# update-alternatives --verbose --install /usr/bin/java java /usr/local/lib/jdk/bin/java 500 --slave /usr/share/man/man1/java.1 java.1 /usr/local/lib/jdk/man/man1/java.1
# ln -s /usr/local/lib/jdk/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla firefox/plugins/libjavaplugin_oji.so
# java -version



The output of the last command should be something like
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)

November 04, 2004

Slashdot on Photoblogging

Photoblogging was discussed on Slashdot. Most people didn't seem to be too excited about this concept. However, some great links were posted:

and also some photoblogs:

This page is powered by Blogger. Isn't yours?