From owner-freebsd-java@FreeBSD.ORG Wed Sep 25 07:30:55 2013 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7885BC64 for ; Wed, 25 Sep 2013 07:30:55 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (adsltrust.ath.forthnet.gr [194.219.204.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E30C52DDD for ; Wed, 25 Sep 2013 07:30:53 +0000 (UTC) Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.14.5/8.14.5) with ESMTP id r8P7NGOD018686 for ; Wed, 25 Sep 2013 10:23:16 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Message-ID: <52428F64.7070408@matrix.gatewaynet.com> Date: Wed, 25 Sep 2013 10:23:16 +0300 From: Achilleas Mantzios User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130601 Thunderbird/17.0.6 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> In-Reply-To: <524284CB.4050606@netfence.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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:30:55 -0000 On 25/09/2013 09:38, Andrea Venturoli wrote: > On 09/25/13 08:28, Jason Helfman wrote: > >> java/javavmwrapper >> >> cc: java > > 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. > bye & Thanks > av. > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" -- Achilleas Mantzios