Date: Tue, 17 Mar 2026 17:38:18 +0100 From: Markus Graf <markus.graf@markusgraf.net> To: Ronald Klop <ronald-lists@klop.ws> Cc: Gleb Popov <arrowd@FreeBSD.org>, ports-committers@FreeBSD.org, dev-commits-ports-main@FreeBSD.org, dev-commits-ports-all@FreeBSD.org Subject: Re: git: 465f21e7c5fe - main - java/javacpp: Bridge between Java and C++ Message-ID: <86se9ycsxx.fsf@beasty.markusgraf.net> In-Reply-To: <483548811.3434.1773760114337@localhost> (Ronald Klop's message of "Tue, 17 Mar 2026 16:08:34 %2B0100 (CET)") References: <69b96634.4077b.250b2f70@gitrepo.freebsd.org> <483548811.3434.1773760114337@localhost>
index | next in thread | previous in thread | raw e-mail
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.nethome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86se9ycsxx.fsf>
