[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: installing java (for limewire)



On Thu, Dec 28, 2006 at 08:15:03PM +0100, Robert Epprecht wrote:
> 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.
use dpkg -L to see what is in you newly created deb...
otherwise use java-packe's make-jpkg (probably on sid) to create a deb
from the .bin jre or jdk..

(worked for me in the past)

yours
albert
-- 
Albert Dengg <a_d@gmx.at>



Reply to: