public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-java]  Sun Java JDK 1.4* and Sun Java JRE 1.5 issue
@ 2006-06-04 10:34 Peter
  2006-06-04 20:13 ` Caster
  0 siblings, 1 reply; 3+ messages in thread
From: Peter @ 2006-06-04 10:34 UTC (permalink / raw
  To: gentoo-java

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-05 10:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2006-06-05 10:20   ` [gentoo-java] " Peter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox