From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FvCKX-0003mc-Vr for garchives@archives.gentoo.org; Tue, 27 Jun 2006 12:06:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k5RC3iWb001225; Tue, 27 Jun 2006 12:03:44 GMT Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.200]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k5RC3hxK022259 for ; Tue, 27 Jun 2006 12:03:43 GMT Received: by wx-out-0102.google.com with SMTP id t4so974664wxc for ; Tue, 27 Jun 2006 05:03:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a8CBMA0Ra+pznoNwZafhSaDV+8k+NkfiM1F5QfiUtIVYtNBITvZu9LvZYhYvdTWyGycHjgLleeraeI4gbGeIrXZefbVmauZHE7tnxUGvbB7cqf9uI0U2nZNxLDamNhDi/a91U+qd0EqrgtHZk0XvoT8PL/Y4cPFCzNl6mFShVk0= Received: by 10.70.26.1 with SMTP id 1mr9500292wxz; Tue, 27 Jun 2006 05:03:41 -0700 (PDT) Received: by 10.70.63.16 with HTTP; Tue, 27 Jun 2006 05:03:40 -0700 (PDT) Message-ID: <254054bc0606270503o165cdbeatf55dd40ed9b29614@mail.gmail.com> Date: Tue, 27 Jun 2006 14:03:40 +0200 From: "Wiktor Wandachowicz" To: gentoo-java@lists.gentoo.org Subject: Re: [gentoo-java] migration-overlay entering main tree In-Reply-To: <254054bc0606270338j4b21551kb96c7751b97f0e1f@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <449F020F.7010208@gentoo.org> <200606261604.53701.ivan@yosifov.net> <449FDD87.3080909@gentoo.org> <254054bc0606270338j4b21551kb96c7751b97f0e1f@mail.gmail.com> X-Archives-Salt: b0207b45-6f27-42f3-8aaf-1cb645f248fc X-Archives-Hash: 0b14b6cc40b53a856531dedc4e7669ee > Now I'm looking into setting a sun-jdk-1.4.2 on amd64 as the system > and/or build VM. I *know* it's not meant to be used as a Java plugin for > 64-bit firefox, but it could be used for 32-bit firefox-bin. And with multilib > profile in place and emul-* libraries it should work without problems. > I will send an update on this case soon. Ok, so here's the update. I have firefox-bin installed on amd64 architecture. It works, but uses the Blackdown JDK 1.4.2 in form of emul-linux-x86-java-1.4.2.03-r1 package. This package puts a link to its Java plugin for 32-bit Firefox in /usr/lib32/nsbrowser/plugins directory. As I already mentioned on the Forums [1] it's possible to run 32-bit Firefox in 64-bit environment with 32-bit Java plug-in from sun-jdk-1.4.2. Here's what I did: echo "=dev-java/sun-jdk-1.4.2* doc jce -nsplugin" >> /etc/portage/package.use echo "=app-emulation/emul-linux-x86-java-1.4* -nsplugin" >> /etc/portage/package.use emerge -av emul-linux-x86 # to get rid of Blackdown Java plugin emerge -av =sun-jdk-1.4* mkdir -p /usr/lib32/nsbrowser/plugins cd /usr/lib32/nsbrowser/plugins ln -s /opt/sun-jdk-1.4.2.12/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so After restarting firefox-bin in its about:config I was happy to see: Java(TM) Plug-in 1.4.2_12-b03 instead of Blackdown's. So I did it again ;) Now, the questions. Could it be possible to support 32-bit sun-jdk in amd64 environment for 32-bit firefox-bin (only)? In a way similar to the emul-linux-x86 package does? I know how to handle that situation manually, but it's not the optimal solution (or did I miss something?) Cheers, Wiktor [1] http://forums.gentoo.org/viewtopic-t-416912.html -- Registered Linux user #390131 (http://counter.li.org) -- gentoo-java@gentoo.org mailing list