From: Peter <pete4abw@comcast.net>
To: gentoo-java@lists.gentoo.org
Subject: [gentoo-java] Sun Java JDK 1.4* and Sun Java JRE 1.5 issue
Date: Sun, 04 Jun 2006 06:34:07 -0400 [thread overview]
Message-ID: <pan.2006.06.04.10.34.06.359093@comcast.net> (raw)
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.
Now, if I unmerge the jre, and emerge the 1.5 jdk and follow the
java-config steps above, about:plugins shows 1.5 being used for the user.
Only thing I can think of is that when I sourced the java-env file for the
JRE, the environment variable JDK_HOME still pointed to 1.4 (and correctly
so, since that is the only JDK). Perhaps that confused firefox?
Lastly, I removed all JDKs and just emerged 1.5-jre-bin and tested the
browser. Without a JDK installed, the browser did pick up the proper VM,
1.5 in this test. Of course, I had to reinstall the 1.4 jdk again.
If I did something wrong by installing a JRE, please advise. If you would
like me to do more testing or try something different, please let me know.
Maybe it's something as simple as needing to unser the JDK_HOME variable.
HTH
--
Peter
--
gentoo-java@gentoo.org mailing list
next reply other threads:[~2006-06-04 10:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-04 10:34 Peter [this message]
2006-06-04 20:13 ` [gentoo-java] Sun Java JDK 1.4* and Sun Java JRE 1.5 issue Caster
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=pan.2006.06.04.10.34.06.359093@comcast.net \
--to=pete4abw@comcast.net \
--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