From: Caster <cast3r@seznam.cz>
To: gentoo-java@lists.gentoo.org
Subject: Re: [gentoo-java] Sun Java JDK 1.4* and Sun Java JRE 1.5 issue
Date: Sun, 04 Jun 2006 22:13:24 +0200 [thread overview]
Message-ID: <44833EE4.4090708@seznam.cz> (raw)
In-Reply-To: <pan.2006.06.04.10.34.06.359093@comcast.net>
Peter wrote:
> While not the Java expert, I wanted to take a look at the 1.5 JRE for use
> with a browser. Following the very clear directions presented, I emerged
> the 1.5 JRE and then:
>
> # java-config -S sun-jdk-1.4.2.10
>
> then as user
>
> $ java-config -s sun-jre-bin-1.5.0.06-r2
>
> Then I sourced the ~/.gentoo/java-env file as instructed.
>
> When I fired up firefox, the 1.4.2.10 java vm was shown as used when I did
> about:plugins.
>
Firefox doesn't care about any java environment variables. It only cares
about the file /usr/lib/nsbrowser/plugins/javaplugin.so . In gentoo,
this file is just a symlink to some actual plugin file in the VM
installed (for example
/opt/sun-jdk-1.5.0.06/jre/plugin/i386/ns7/libjavaplugin_oji.so). This
symlink is created by emerging a JRE/JDK with "nsplugin" USE flag. The
last VM installed with this USEflag takes this symlink. Currently
there's no other way to change it except manual editing. Just recently
on IRC I've suggested an eselect module for that, or to synchronize this
with java-config (eselect java) VM changing. If you want to not depend
on which VM was emerged last, emerge only the desired one with USE
"nsplugin" (by editing package.use).
Caster
--
gentoo-java@gentoo.org mailing list
next prev parent reply other threads:[~2006-06-04 20:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-04 10:34 [gentoo-java] Sun Java JDK 1.4* and Sun Java JRE 1.5 issue Peter
2006-06-04 20:13 ` Caster [this message]
2006-06-05 10:20 ` [gentoo-java] " Peter
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=44833EE4.4090708@seznam.cz \
--to=cast3r@seznam.cz \
--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