Date: Mon, 10 May 2010 19:20:37 +0200 From: Herve Quiroz <herve.quiroz@trancecode.org> To: "Osipov, Michael" <michael.osipov@siemens.com> Cc: "freebsd-java@freebsd.org" <freebsd-java@freebsd.org> Subject: Re: Erratic JAVA_HOME output Message-ID: <20100510172037.GA15924@herve-laptop-componize> In-Reply-To: <BA7F2D0AAFA236469C36CDB54DE1A07DA70D7B49@DEMCHP99E24MSX.ww902.siemens.net> References: <BA7F2D0AAFA236469C36CDB54DE1A07DA70D7B49@DEMCHP99E24MSX.ww902.siemens.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 07, 2010 at 11:06:19AM +0200, Osipov, Michael wrote: > Then I wrote a litle test app: > public class JavaHomeInfo { > public static void main(String... args) { > System.out.println(System.getProperty("java.home")); > } > } > > And the output is: > $ java JavaHomeInfo > /usr/local/diablo-jdk1.6.0/jre FYI, I was intrigued and ran this on a Linux box. And it outputs the same thing as on FreeBSD: $ java JavaHomeInfo /usr/lib/jvm/java-6-sun-1.6.0.20/jre So it seems to me the behavior on your machine is correct. Herve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100510172037.GA15924>