1 |
Wiktor Wandachowicz wrote: |
2 |
> Add the relevant snippet to one of your startup files, but this |
3 |
> way you loose some of the benefits of Generation-2 Java |
4 |
> handling through wrappers in /usr/bin. Decide for yourself ;) |
5 |
> |
6 |
That's actually not true. What you lose, is the benefit of not having |
7 |
the current VM tied to the environment. Specifically, if you don't have |
8 |
a user VM set... JAVA_HOME would point at the system VM... but if at |
9 |
some point, you set a user VM, JAVA_HOME would still point to the system |
10 |
VM until you source whichever file you add that snippet to. |
11 |
|
12 |
It is extremely important to note that if you decide to use the snippet |
13 |
for root, then java-config-1 has no way of knowing what the generation-1 |
14 |
VM is, because it uses JAVA_HOME to determine this. |
15 |
|
16 |
-- |
17 |
Joshua Nichols |
18 |
Gentoo/Java - Project Lead |
19 |
|
20 |
-- |
21 |
gentoo-java@g.o mailing list |