1 |
While not the Java expert, I wanted to take a look at the 1.5 JRE for use |
2 |
with a browser. Following the very clear directions presented, I emerged |
3 |
the 1.5 JRE and then: |
4 |
|
5 |
# java-config -S sun-jdk-1.4.2.10 |
6 |
|
7 |
then as user |
8 |
|
9 |
$ java-config -s sun-jre-bin-1.5.0.06-r2 |
10 |
|
11 |
Then I sourced the ~/.gentoo/java-env file as instructed. |
12 |
|
13 |
When I fired up firefox, the 1.4.2.10 java vm was shown as used when I did |
14 |
about:plugins. |
15 |
|
16 |
Now, if I unmerge the jre, and emerge the 1.5 jdk and follow the |
17 |
java-config steps above, about:plugins shows 1.5 being used for the user. |
18 |
|
19 |
Only thing I can think of is that when I sourced the java-env file for the |
20 |
JRE, the environment variable JDK_HOME still pointed to 1.4 (and correctly |
21 |
so, since that is the only JDK). Perhaps that confused firefox? |
22 |
|
23 |
Lastly, I removed all JDKs and just emerged 1.5-jre-bin and tested the |
24 |
browser. Without a JDK installed, the browser did pick up the proper VM, |
25 |
1.5 in this test. Of course, I had to reinstall the 1.4 jdk again. |
26 |
|
27 |
If I did something wrong by installing a JRE, please advise. If you would |
28 |
like me to do more testing or try something different, please let me know. |
29 |
Maybe it's something as simple as needing to unser the JDK_HOME variable. |
30 |
|
31 |
HTH |
32 |
-- |
33 |
Peter |
34 |
|
35 |
|
36 |
-- |
37 |
gentoo-java@g.o mailing list |