install both jdk15 and jdk 16 from port

Dan Nelson dnelson at
Fri May 15 05:50:57 UTC 2009

In the last episode (May 14), vuthecuong said:
> do I will have conflict etc problems when install both jdk15 and jdk 16
> from ports?

Nope; all the jdk ports install into separate directories.  There is a
javavmwrapper port that installs as /usr/local/bin/java and decides on the
best jvm to use based on some environment variables (see the javavm manpage
for details).  You can always override its choice by setting JAVA_HOME to
whichever jvm you want.

	Dan Nelson
	dnelson at

More information about the freebsd-questions mailing list