From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G7YfA-0004PB-E2 for garchives@archives.gentoo.org; Mon, 31 Jul 2006 14:22:32 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6VELW7F017849; Mon, 31 Jul 2006 14:21:32 GMT Received: from banta-im.com (roy-rogers.nfic.com [208.231.230.100]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6VELVYL009427 for ; Mon, 31 Jul 2006 14:21:31 GMT Received: from by banta-im.com (8.9.3/8.9.3) with ESMTP id KAA17041; Mon, 31 Jul 2006 10:21:26 -0400 (EDT) Message-ID: <44CE11E6.5000800@gentoo.org> Date: Mon, 31 Jul 2006 10:21:26 -0400 From: Joshua Nichols User-Agent: Thunderbird 1.5.0.4 (X11/20060702) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 To: Wiktor Wandachowicz CC: Kurt Guenther , gentoo-java Subject: Re: [gentoo-java] JAVA_HOME set to 1.4.2 References: <44CE00BA.5000905@serent.com> <254054bc0607310615s6578a09bv91c707860e23ec5d@mail.gmail.com> In-Reply-To: <254054bc0607310615s6578a09bv91c707860e23ec5d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 526aa57d-eb78-4109-a6cd-25c9638f2756 X-Archives-Hash: e8c9d9f1ed6a75df6335e0c69ab3b329 Wiktor Wandachowicz wrote: > Add the relevant snippet to one of your startup files, but this > way you loose some of the benefits of Generation-2 Java > handling through wrappers in /usr/bin. Decide for yourself ;) > That's actually not true. What you lose, is the benefit of not having the current VM tied to the environment. Specifically, if you don't have a user VM set... JAVA_HOME would point at the system VM... but if at some point, you set a user VM, JAVA_HOME would still point to the system VM until you source whichever file you add that snippet to. It is extremely important to note that if you decide to use the snippet for root, then java-config-1 has no way of knowing what the generation-1 VM is, because it uses JAVA_HOME to determine this. -- Joshua Nichols Gentoo/Java - Project Lead -- gentoo-java@gentoo.org mailing list