On Thu, 2006-12-28 at 20:15 +0100, Robert Epprecht wrote: > Now I have tried again on the *sarge* box: > > muz:~# ./jre-1_5_0_10-linux-i586-rpm.bin > Extracting... > UnZipSFX 5.42 of 14 January 2001, by Info-ZIP ([EMAIL PROTECTED]). > inflating: jre-1_5_0_10-linux-i586.rpm > rpm: To install rpm packages on Debian systems, use alien. See README.Debian. > error: cannot open Packages index using db3 - No such file or directory (2) > error: cannot open Packages database in /var/lib/rpm > > Done. > > muz:/tmp# alien jre-1_5_0_10-linux-i586.rpm > jre_1.5.0_10-1_i386.deb generated > > muz:/tmp# dpkg -i jre_1.5.0_10-1_i386.deb > (Reading database ... 123428 files and directories currently installed.) > Preparing to replace jre 1.5.0_10-1 (using jre_1.5.0_10-1_i386.deb) ... > Unpacking replacement jre ... > Setting up jre (1.5.0_10-1) ... > > muz:/tmp# cd > muz:~# update-alternatives --config java > No alternatives for java. > > muz:~# which java > muz:~# > > hmm?
That's not really a good idea. Either try to find backports of Java to sarge, or use java-package to build your own version. It's not really that hard. See, http://www.crazysquirrel.com/computing/debian/java.jspx I don't really have much experience with Java, so there might be better or more up to date information somewhere else. -- Cheers, Sven Arvidsson http://www.whiz.se PGP Key ID 760BDD22
signature.asc
Description: This is a digitally signed message part