default version

Jonathan Chen jonc at chen.org.nz
Wed Mar 18 04:18:26 UTC 2020


On Wed, 18 Mar 2020 at 17:14, Tommy Pham <tommyhp2 at gmail.com> wrote:
>
> Hello everyone,
>
> Is there way to specify explicitly the desired Java version to build?  This
> is a list of ports that I found using Java:

In /etc/make.conf, specify:
JAVA_PREFERRED_PORTS=   JAVA_PORT_NATIVE_OPENJDK_JDK_11

Cheers.
-- 
Jonathan Chen <jonc at chen.org.nz>


More information about the freebsd-java mailing list