public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Wiktor Wandachowicz" <siryes@gmail.com>
To: gentoo-java@lists.gentoo.org
Subject: Re: [gentoo-java] migration-overlay entering main tree
Date: Tue, 27 Jun 2006 14:03:40 +0200	[thread overview]
Message-ID: <254054bc0606270503o165cdbeatf55dd40ed9b29614@mail.gmail.com> (raw)
In-Reply-To: <254054bc0606270338j4b21551kb96c7751b97f0e1f@mail.gmail.com>

> 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



      reply	other threads:[~2006-06-27 12:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-25 21:37 [gentoo-java] migration-overlay entering main tree Joshua Nichols
2006-06-25 22:20 ` Greg Tassone
2006-06-25 22:59   ` Joshua Nichols
2006-06-26 10:44     ` Caster
2006-06-26 11:45       ` Joshua Nichols
2006-06-26 10:47     ` Caster
2006-06-26 11:47       ` Joshua Nichols
2006-06-26 13:04 ` Ivan Yosifov
2006-06-26 13:13   ` Joshua Nichols
2006-06-26 23:35     ` Caster
2006-06-28 15:44       ` Joshua Nichols
2006-06-28 22:42         ` Wiktor Wandachowicz
2006-06-29 15:11           ` Joshua Nichols
2006-06-27 10:38     ` Wiktor Wandachowicz
2006-06-27 12:03       ` Wiktor Wandachowicz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=254054bc0606270503o165cdbeatf55dd40ed9b29614@mail.gmail.com \
    --to=siryes@gmail.com \
    --cc=gentoo-java@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox