Gentoo Archives: gentoo-java

From: Joshua Nichols <nichoj@g.o>
To: Wiktor Wandachowicz <siryes@×××××.com>
Cc: Kurt Guenther <kurtg@××××××.com>, gentoo-java <gentoo-java@l.g.o>
Subject: Re: [gentoo-java] JAVA_HOME set to 1.4.2
Date: Mon, 31 Jul 2006 14:22:32
Message-Id: 44CE11E6.5000800@gentoo.org
In Reply to: Re: [gentoo-java] JAVA_HOME set to 1.4.2 by Wiktor Wandachowicz
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

Replies

Subject Author
Re: [gentoo-java] JAVA_HOME set to 1.4.2 Wiktor Wandachowicz <siryes@×××××.com>