Re: installing java (for limewire)
Sven Arvidsson <sa@whiz.se> writes:
> Your system is still set up to use GCJ as the default Java environment.
> This is where you learn about the Debian alternatives system :)
>
> Run, as root,
> update-alternatives --config java
>
> And change the defaults to Sun Java. (There's also javac, javadoc, javap
> etc.)
Thanks a lot, now on sid everything is working :-)
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 (Zip-Bugs@lists.wku.edu).
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?
Robert
Reply to: