Multiple Java versions
Andrea Venturoli
ml at netfence.it
Tue Sep 24 10:36:31 UTC 2013
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.
More information about the freebsd-ports
mailing list