Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2013 10:23:16 +0300
From:      Achilleas Mantzios <achill@matrix.gatewaynet.com>
To:        freebsd-java@freebsd.org
Subject:   Re: Multiple Java versions
Message-ID:  <52428F64.7070408@matrix.gatewaynet.com>
In-Reply-To: <524284CB.4050606@netfence.it>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52428F64.7070408>