On Thursday 21 October 2004 09:23, Anders Johansson wrote:
On Thursday, 21 October 2004 09.19, Rikard Johnels wrote:
Hi all! I have tried to get the hang of apt, but i keep stumbling over the java integration. I have encountered several "Depends: libjawt.so but it is not installable" and installed J2SE with the JRE from SUN.
I'm guessing you installed the tar files and not the rpm packages. All rpm based tools only look at the rpm database, not at the actual files on your disk, so you need some rpm that says "Provides: libjawt.so". Either the rpm based version from sun, the rpm from suse, or (if you can't find an rpm of java with the requisite "Provides:") a fake one you create yourself
I used the package provided via SUN. "j2re-1_4_2_06-linux-i586-rpm.bin" which in turn gave the "j2re-1_4_2_06-linux-i586.rpm" package. Instaled: sparhawk:~ # rpm -i j2re-1_4_2_06-linux-i586.rpm sparhawk:~ # rpm -q j2re j2re-1.4.2_06-fcs sparhawk:~ # find / -mount -name libjawt.so /usr/java/j2re1.4.2_06/lib/i386/libjawt.so what more do i need? -- /Rikard --------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com Mob : +46 735 05 51 01 PGP : ---------------------------------------------------------------