From owner-freebsd-java@FreeBSD.ORG Wed Sep 25 07:36:29 2013 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 589E7D26 for ; Wed, 25 Sep 2013 07:36:29 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp.eutelia.it (mp1-smtp-6.eutelia.it [62.94.10.166]) by mx1.freebsd.org (Postfix) with ESMTP id D4CED2E36 for ; Wed, 25 Sep 2013 07:36:28 +0000 (UTC) Received: from ns2.biolchim.it (ip-188-188.sn2.eutelia.it [83.211.188.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eutelia.it (Eutelia) with ESMTP id 11E736732AF for ; Wed, 25 Sep 2013 09:36:26 +0200 (CEST) Received: from soth.ventu (adsl-ull-109-216.41-151.net24.it [151.41.216.109]) (authenticated bits=0) by ns2.biolchim.it (8.14.7/8.14.7) with ESMTP id r8P7aMnd019250 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 25 Sep 2013 09:36:24 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: ns2.biolchim.it: Host adsl-ull-109-216.41-151.net24.it [151.41.216.109] claimed to be soth.ventu Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.7/8.14.5) with ESMTP id r8P7aGBY039566 for ; Wed, 25 Sep 2013 09:36:17 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <52429270.8050009@netfence.it> Date: Wed, 25 Sep 2013 09:36:16 +0200 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Re: Multiple Java versions References: <52416B1A.5040606@netfence.it> <52427DA7.8070804@netfence.it> <524284CB.4050606@netfence.it> <52428F64.7070408@matrix.gatewaynet.com> In-Reply-To: <52428F64.7070408@matrix.gatewaynet.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ns2.biolchim.it [192.168.2.203]); Wed, 25 Sep 2013 09:36:24 +0200 (CEST) X-Scanned-By: MIMEDefang 2.74 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 07:36:29 -0000 On 09/25/13 09:23, Achilleas Mantzios wrote: >> Sorry for being so dumb, but I don't understand this... >> I though I was using javavmwrapper... what do you mean? >> > > You can verify this by doing a > % which java > if this turns out : /usr/local/bin/java > then > ls -l /usr/local/bin/java > lrwxr-xr-x 1 root wheel 21 14 Ιον 10:54 /usr/local/bin/java -> > /usr/local/bin/javavm > > pkg which /usr/local/bin/javavm > /usr/local/bin/javavm was installed by package javavmwrapper-2.4_3 > > then you are sure you are using javavmwrapper > > But, despite this, still the code governing what will be run in the > default case is still : /usr/ports/Mk/bsd.java.mk > > In my system : 9.1-RELEASE-p3, and despite not setting JAVA_HOME, and > having > cat /usr/local/etc/javavms > /usr/local/openjdk7/bin/java # OpenJDK7 > /usr/local/openjdk6/bin/java # OpenJDK6 > > *still* the java version of choice is openjdk6 > > i don't know how much the /usr/local/etc/javavms is consulted. Thanks. I can confirm the above. bye av.