Re: git: 465f21e7c5fe - main - java/javacpp: Bridge between Java and C++
- In reply to: Ronald Klop : "Re: git: 465f21e7c5fe - main - java/javacpp: Bridge between Java and C++"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Mar 2026 16:38:18 UTC
Ronald Klop <ronald-lists@klop.ws> writes: > Hi, > > And could you elaborate on why this is Java 21 only? Does it not > work on other Java versions? > I'm asking because I am involved in setting the JAVA_DEFAULT > version in ports recently and > want to understand what issues porters encounter with Java > versions. > > Regards, > Ronald. > Hi Ronald, You are right, I added JAVA_VERSION 21 when it wasn't NO_BUILD. Since it is NO_BUILD now this should propably be taken out since it is now conrolled upstream. The reason to set it to JAVA_VERSION 21 when I still built, was because it installs a library-jar to be used by other ports, in my case https://github.com/freebsd/freebsd-ports/pull/491 databases/dtlvnative. dtlvnative throws if javacpp was built with a newer jdk than itself. So I "pinned it" to the oldest sensible (default) version to always be older than its consumers. Do you suggest I just take it out or replace it with something else with the port being NO_BUILD but the manual test needing some jdk? Regards Markus Sorry, you are getting this twice because I forgot to reply to all. -- Markus Graf Tel.: +49 172 840 26 08 Email: markus.graf@markusgraf.net Web: markusgraf.net, headhuntertraining.net