Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2013 12:36:10 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-ports@freebsd.org
Subject:   Multiple Java versions
Message-ID:  <52416B1A.5040606@netfence.it>

next in thread | raw e-mail | index | archive | help
Hello.

Sorry if this is a stupid question...

I have:

> # pkg_info|grep jdk
> bootstrap-openjdk-r316538 Oracle's Java 6 virtual machine release under the GPL v2
> openjdk-7.25.15     Java Development Kit 7
> openjdk6-b27_7      Oracle's Java 6 virtual machine release under the GPL v2

Now, according to JAVAVMS(5), "By default, javavm will select the most 
``native'' and up to date version".

However:

> % java -version
> openjdk version "1.6.0_32"
> OpenJDK Runtime Environment (build 1.6.0_32-b27)
> OpenJDK Server VM (build 20.0-b12, mixed mode)

Any way to fix this?

AFAICT I didn't set any relevant environment variable, anything in 
/etc/make.conf or in javavms' own config files.


  bye & Thanks
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52416B1A.5040606>