Date: Wed, 25 Sep 2013 09:36:16 +0200 From: Andrea Venturoli <ml@netfence.it> To: freebsd-java@freebsd.org Subject: Re: Multiple Java versions Message-ID: <52429270.8050009@netfence.it> In-Reply-To: <52428F64.7070408@matrix.gatewaynet.com> References: <52416B1A.5040606@netfence.it> <CAJuc1zOOz6d_AfrdMFkG0yQ11aYF882R9DXVXw53w8cR8D_-Bw@mail.gmail.com> <52427DA7.8070804@netfence.it> <CAMuy=%2Bi=-DE3XUe=XP5eaYM6a9c09z0UsQP=-up7-x1LkXpNWQ@mail.gmail.com> <524284CB.4050606@netfence.it> <52428F64.7070408@matrix.gatewaynet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52429270.8050009>