Re: maven and java_home?

Harald Eilertsen <[email protected]> Thu, 5 Feb 2026 12:57:20 +0100
Newsgroups gmane.os.freebsd.devel.java
Message-ID <[email protected]>
Hi,

On Thu, Feb 05, 2026 at 09:52:13AM +0100, Ronald Klop wrote:
> When a port defines JAVA_VERSION but during the build multiple jdk versions are installed, maven does not use the defined version if JAVA_HOME is not set in the environment.

That's a good find!
The patch looks uncontroversial to me, so I'm fine with it.

Nice work on upgrading default java to 21, btw!

H!