Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2023 18:11:09 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4cda17ab1458 - main - */*: Refactor java/openjdk7 removal
Message-ID:  <202304041811.334IB93k074119@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4cda17ab14588e6e4fdac7f697e246554ce82af3

commit 4cda17ab14588e6e4fdac7f697e246554ce82af3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-04-04 18:04:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-04-04 18:10:53 +0000

    */*: Refactor java/openjdk7 removal
    
    - java/openjdk7* has been removed from the tree since 2022-09-03 however
      the relevant codebases in bsd.java.mk has not been removed and the
      consumers has also not been updated to use the next jdk version. This
      commit updates all relevant consumers to use JAVA_VERSION=8 instead of
      JAVA_VERSION=1.7
    - Since the introduction of jdk version 18 it looks like similar with
      jdk version 8(java version string 1.8). This is prone to error as it
      looks similar and is only seperated by a '.'. Remove using
      JAVA_VERSION with dotted fomat of java version string and update all
      consumers to utilize version 8 instead of 1.8.
    
    Approved by:    portmgr (blanket)
---
 Mk/bsd.java.mk                            | 6 +++---
 astro/josm/Makefile                       | 2 +-
 astro/mkgmap-splitter/Makefile            | 2 +-
 astro/mkgmap/Makefile                     | 2 +-
 benchmarks/typometer/Makefile             | 2 +-
 biology/canu/Makefile                     | 2 +-
 biology/picard-tools/Makefile             | 2 +-
 databases/cassandra3/Makefile             | 2 +-
 databases/cassandra4/Makefile             | 2 +-
 databases/db18/Makefile                   | 2 +-
 databases/db5/Makefile                    | 2 +-
 databases/jdbc-oracle11g/Makefile         | 2 +-
 databases/mysql-connector-java/Makefile   | 2 +-
 databases/mysql-connector-java51/Makefile | 2 +-
 databases/sql-workbench/Makefile          | 2 +-
 devel/ammonite/Makefile                   | 2 +-
 devel/antlr4/Makefile                     | 2 +-
 devel/arduino18/Makefile                  | 2 +-
 devel/artifactory/Makefile                | 2 +-
 devel/bazel029/Makefile                   | 2 +-
 devel/dbus-java/Makefile                  | 2 +-
 devel/gradle5/Makefile                    | 2 +-
 devel/mill/Makefile                       | 2 +-
 devel/umlgraph/Makefile                   | 2 +-
 games/minecraft-client/Makefile           | 2 +-
 games/multimc/Makefile                    | 2 +-
 graphics/openjump/Makefile                | 2 +-
 graphics/yed/Makefile                     | 2 +-
 java/eclipse-cdt/Makefile                 | 2 +-
 java/eclipse-pydev/Makefile               | 2 +-
 java/eclipse/Makefile.plugins             | 3 +--
 java/lightweight-java-profiler/Makefile   | 2 +-
 java/visualvm/Makefile                    | 2 +-
 java/wildfly14/Makefile                   | 2 +-
 java/wildfly15/Makefile                   | 2 +-
 java/wildfly16/Makefile                   | 2 +-
 java/wildfly17/Makefile                   | 2 +-
 java/wildfly18/Makefile                   | 2 +-
 java/wildfly24/Makefile                   | 2 +-
 java/wildfly25/Makefile                   | 2 +-
 java/wildfly26/Makefile                   | 2 +-
 lang/clojure/Makefile                     | 2 +-
 lang/jruby/Makefile                       | 2 +-
 lang/scala/Makefile                       | 2 +-
 misc/openhab2/Makefile                    | 2 +-
 net-im/openfire/Makefile                  | 2 +-
 net-mgmt/riemann/Makefile                 | 2 +-
 net/serviio/Makefile                      | 2 +-
 sysutils/digdag/Makefile                  | 2 +-
 sysutils/puppetserver6/Makefile           | 2 +-
 sysutils/puppetserver7/Makefile           | 2 +-
 sysutils/rundeck2/Makefile                | 2 +-
 sysutils/rundeck3/Makefile                | 2 +-
 www/libresonic-standalone/Makefile        | 2 +-
 www/payara/Makefile                       | 2 +-
 www/selenium/Makefile                     | 2 +-
 www/tomcat9/Makefile                      | 2 +-
 57 files changed, 59 insertions(+), 60 deletions(-)

diff --git a/Mk/bsd.java.mk b/Mk/bsd.java.mk
index ca8cbf940c7c..78ecd65408ba 100644
--- a/Mk/bsd.java.mk
+++ b/Mk/bsd.java.mk
@@ -22,7 +22,7 @@ Java_Include_MAINTAINER=	java@FreeBSD.org
 #
 # JAVA_VERSION		List of space-separated suitable java versions for the
 #					port. An optional "+" allows you to specify a range of
-#					versions. (allowed values: 7[+] 8[+] 11[+] 17[+] 18[+])
+#					versions. (allowed values: 8[+] 11[+] 17[+] 18[+])
 #
 # JAVA_OS			List of space-separated suitable JDK port operating systems
 #					for the port. (allowed values: native linux)
@@ -159,7 +159,7 @@ SUB_LIST+=		JAVA_OS="${JAVA_OS}"
 .    endif
 
 # The complete list of Java versions, os and vendors supported.
-__JAVA_VERSION_LIST=	7 8 11 17 18
+__JAVA_VERSION_LIST=	8 11 17 18
 _JAVA_VERSION_LIST=		${__JAVA_VERSION_LIST} ${__JAVA_VERSION_LIST:S/$/+/}
 _JAVA_OS_LIST=			native linux
 _JAVA_VENDOR_LIST=		openjdk oracle
@@ -265,7 +265,7 @@ JAVA_RUN=	jre
 .		undef _JAVA_PORTS_INSTALLED
 .		undef _JAVA_PORTS_POSSIBLE
 .    if defined(JAVA_VERSION)
-_JAVA_VERSION=	${JAVA_VERSION:S/^1.7+/1.7 1.8+/:S/^1.8+/1.8 11+/:S/^1.7/7/:S/^1.8/8/:S/^7+/7 8+/:S/^8+/8 11+/:S/^11+/11 17+/:S/^17+/17 18+/:S/^18+/18/}
+_JAVA_VERSION=	${JAVA_VERSION:S/^8+/8 11+/:S/^11+/11 17+/:S/^17+/17 18+/:S/^18+/18/}
 .    else
 _JAVA_VERSION=	${__JAVA_VERSION_LIST}
 .    endif
diff --git a/astro/josm/Makefile b/astro/josm/Makefile
index 00a786087903..c46c97923422 100644
--- a/astro/josm/Makefile
+++ b/astro/josm/Makefile
@@ -17,7 +17,7 @@ NO_WRKSUBDIR=	yes
 
 USES=		zip:infozip
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 
 NO_BUILD=	yes
 NO_ARCH=	yes
diff --git a/astro/mkgmap-splitter/Makefile b/astro/mkgmap-splitter/Makefile
index 12e45e191b87..7339e925f9b7 100644
--- a/astro/mkgmap-splitter/Makefile
+++ b/astro/mkgmap-splitter/Makefile
@@ -9,7 +9,7 @@ COMMENT=	Tile splitter for mkgmap
 WWW=		https://www.mkgmap.org.uk/doc/splitter.html
 
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 NO_BUILD=	yes
 NO_ARCH=	yes
 
diff --git a/astro/mkgmap/Makefile b/astro/mkgmap/Makefile
index fe43b0ec4234..dbea682d8acb 100644
--- a/astro/mkgmap/Makefile
+++ b/astro/mkgmap/Makefile
@@ -11,7 +11,7 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENCE
 
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 NO_BUILD=	yes
 NO_ARCH=	yes
 
diff --git a/benchmarks/typometer/Makefile b/benchmarks/typometer/Makefile
index 0993d7541f53..fab06c406bc7 100644
--- a/benchmarks/typometer/Makefile
+++ b/benchmarks/typometer/Makefile
@@ -13,7 +13,7 @@ LICENSE=	APACHE20
 
 USES=		zip
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 NO_BUILD=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/biology/canu/Makefile b/biology/canu/Makefile
index c549003dea6f..868d364ced15 100644
--- a/biology/canu/Makefile
+++ b/biology/canu/Makefile
@@ -22,7 +22,7 @@ USES=		compiler:c++11-lang gmake localbase perl5 tar:xz
 USE_JAVA=	yes
 
 JAVA_RUN=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 
 WRKSRC_SUBDIR=	src
 # Upstream Makefile compiles directly into ${DESTDIR}${PREFIX} rather than
diff --git a/biology/picard-tools/Makefile b/biology/picard-tools/Makefile
index 5efedead9ca7..bc736acc4cb5 100644
--- a/biology/picard-tools/Makefile
+++ b/biology/picard-tools/Makefile
@@ -14,7 +14,7 @@ LICENSE=	MIT
 
 RUN_DEPENDS=	samtools:biology/samtools
 
-USE_JAVA=	1.8+
+USE_JAVA=	8+
 JAVA_RUN=	yes
 
 CONFLICTS_INSTALL=	picard # bin/picard
diff --git a/databases/cassandra3/Makefile b/databases/cassandra3/Makefile
index 66de34975586..69df0b8e52a9 100644
--- a/databases/cassandra3/Makefile
+++ b/databases/cassandra3/Makefile
@@ -20,7 +20,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}virtualenv>=0:devel/py-virtualenv@${PY_FLAV
 USES=		cpe python:3.6+
 USE_ANT=	yes
 USE_JAVA=	yes
-JAVA_VERSION=	1.8
+JAVA_VERSION=	8
 JAVA_VENDOR=	openjdk
 CPE_VENDOR=	apache
 
diff --git a/databases/cassandra4/Makefile b/databases/cassandra4/Makefile
index 9ea45c5be8d5..a4ee9f37723d 100644
--- a/databases/cassandra4/Makefile
+++ b/databases/cassandra4/Makefile
@@ -31,7 +31,7 @@ CPE_VENDOR=	apache
 
 CONFLICTS=	cassandra3
 
-JAVA_VERSION=	8 11
+JAVA_VERSION=	8+
 JAVA_VENDOR=	openjdk
 
 SUB_LIST=	JAVA_HOME=${JAVA_HOME}
diff --git a/databases/db18/Makefile b/databases/db18/Makefile
index 0c9eab17bc61..8b6ddb72707f 100644
--- a/databases/db18/Makefile
+++ b/databases/db18/Makefile
@@ -67,7 +67,7 @@ JAVA_CONFIGURE_ENV=	JAR="${JAR}" \
 			JAVAC="${JAVAC}"
 JAVA_CPPFLAGS=		-I"${JAVA_HOME}/include"
 JAVA_VARS=		DBLIBS+=libdb_java \
-			JAVA_VERSION="7+"
+			JAVA_VERSION="8+"
 L10N_CONFIGURE_ENABLE=	localization
 TCL_USES=		tcl
 TCL_CONFIGURE_ENABLE=	tcl
diff --git a/databases/db5/Makefile b/databases/db5/Makefile
index 29597687220b..23cfb01cbb64 100644
--- a/databases/db5/Makefile
+++ b/databases/db5/Makefile
@@ -56,7 +56,7 @@ L10N_CONFIGURE_ENABLE=	localization
 JAVA_USE=		java
 # db5 is incompatible with openjdk8 and causes IllegalArgument
 # exceptions during build
-JAVA_VARS=		DBLIBS+=libdb_java JAVA_VERSION="1.7"
+JAVA_VARS=		DBLIBS+=libdb_java JAVA_VERSION="8"
 JAVA_CONFIGURE_ENABLE=	java
 JAVA_CPPFLAGS=		-I"${JAVA_HOME}/include"
 JAVA_CONFIGURE_ENV=	JAVAC="${JAVAC}" JAR="${JAR}" JAVA="${JAVA}" JAVACFLAGS="-Xlint:unchecked"
diff --git a/databases/jdbc-oracle11g/Makefile b/databases/jdbc-oracle11g/Makefile
index 7e9ba9d84923..2abe2b5109d0 100644
--- a/databases/jdbc-oracle11g/Makefile
+++ b/databases/jdbc-oracle11g/Makefile
@@ -19,7 +19,7 @@ LICENSE_TEXT=	Packaging prohibited by Oracle license
 LICENSE_PERMS=	auto-accept
 
 USE_JAVA=	yes
-JAVA_VERSION=	1.7 1.8
+JAVA_VERSION=	8
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 
diff --git a/databases/mysql-connector-java/Makefile b/databases/mysql-connector-java/Makefile
index 69f990103b9c..221f48747966 100644
--- a/databases/mysql-connector-java/Makefile
+++ b/databases/mysql-connector-java/Makefile
@@ -25,7 +25,7 @@ NO_BUILD=	yes
 
 CONFLICTS_INSTALL=	mysql-connector-java51 # share/java/classes/mysql-connector-java.jar
 
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 EXTRADOCS=	CHANGES
 
 PLIST_FILES=	${JAVAJARDIR}/${PORTNAME}.jar
diff --git a/databases/mysql-connector-java51/Makefile b/databases/mysql-connector-java51/Makefile
index a5987eba25c7..0da50589ab8c 100644
--- a/databases/mysql-connector-java51/Makefile
+++ b/databases/mysql-connector-java51/Makefile
@@ -23,7 +23,7 @@ CONFLICTS_INSTALL=	mysql-connector-java # share/java/classes/mysql-connector-jav
 
 NO_ARCH=	yes
 USE_JAVA=	yes
-JAVA_VERSION=	1.7 1.8
+JAVA_VERSION=	8
 BUILDDIR=	${WRKDIR}/${DISTNAME}
 APIDOCSDIR=	${STAGEDIR}${DOCSDIR}/javadoc
 SRCDIR=		${WRKDIR}/${DISTNAME}/src
diff --git a/databases/sql-workbench/Makefile b/databases/sql-workbench/Makefile
index f0fc9b30022e..1de24585f026 100644
--- a/databases/sql-workbench/Makefile
+++ b/databases/sql-workbench/Makefile
@@ -14,7 +14,7 @@ LICENSE=	APACHE20
 
 USES=		zip
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
diff --git a/devel/ammonite/Makefile b/devel/ammonite/Makefile
index fdd63de36510..2fa0af19ee8d 100644
--- a/devel/ammonite/Makefile
+++ b/devel/ammonite/Makefile
@@ -14,7 +14,7 @@ WWW=		https://ammonite.io/
 LICENSE=	MIT
 
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 
 NO_ARCH=	yes
 NO_BUILD=	yes
diff --git a/devel/antlr4/Makefile b/devel/antlr4/Makefile
index cc9ea41b9332..706cefc4d0ba 100644
--- a/devel/antlr4/Makefile
+++ b/devel/antlr4/Makefile
@@ -15,7 +15,7 @@ LICENSE=	BSD3CLAUSE
 NO_BUILD=	yes
 NO_ARCH=	yes
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 INSTALL_JAR=	${DISTFILES}
 SUB_LIST=	INSTALL_JAR=${INSTALL_JAR}
 SUB_FILES=	antlr.sh
diff --git a/devel/arduino18/Makefile b/devel/arduino18/Makefile
index 01d044363486..c3acd50d7ee7 100644
--- a/devel/arduino18/Makefile
+++ b/devel/arduino18/Makefile
@@ -54,7 +54,7 @@ WRKSRC_SUBDIR=	build
 PATCH_WRKSRC=	${WRKSRC}/../
 MAKE_ARGS+=	-Dlight_bundle=true -Dlocal_sources=true -Dno_arduino_builder=true
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 USE_ANT=	yes
 OS_DIR=		${WRKSRC}/linux
 BUILD_DIR=	${OS_DIR}/work
diff --git a/devel/artifactory/Makefile b/devel/artifactory/Makefile
index 67116b9c7c9a..8f58f139cef5 100644
--- a/devel/artifactory/Makefile
+++ b/devel/artifactory/Makefile
@@ -21,7 +21,7 @@ USES=		cpe shebangfix zip
 CPE_VENDOR=	jfrog
 SHEBANG_FILES=	bin/artifactory.sh
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 JAVA_VENDOR=	openjdk
 NO_BUILD=	yes
 NO_ARCH=	yes
diff --git a/devel/bazel029/Makefile b/devel/bazel029/Makefile
index 42f79158de09..d9efa728e385 100644
--- a/devel/bazel029/Makefile
+++ b/devel/bazel029/Makefile
@@ -34,7 +34,7 @@ CPE_VENDOR=	google
 SHEBANG_REGEX=	.*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)
 USE_JAVA=	yes
 JAVA_VENDOR=	openjdk
-JAVA_VERSION=	1.8
+JAVA_VERSION=	8
 JAVA_BUILD=	yes
 JAVA_RUN=	yes
 
diff --git a/devel/dbus-java/Makefile b/devel/dbus-java/Makefile
index 3847671bcccf..00bbdde79248 100644
--- a/devel/dbus-java/Makefile
+++ b/devel/dbus-java/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS=	libunix-java.so:devel/libmatthew
 
 USES=		gettext gmake
 USE_JAVA=	yes
-JAVA_VERSION=	7+
+JAVA_VERSION=	8+
 
 MAKE_ARGS=	MANPREFIX=${MAN1PREFIX}/share/man/man1
 .if defined(WITH_DEBUG)
diff --git a/devel/gradle5/Makefile b/devel/gradle5/Makefile
index 10538b8e4ef5..29f1da9a3c12 100644
--- a/devel/gradle5/Makefile
+++ b/devel/gradle5/Makefile
@@ -13,7 +13,7 @@ LICENSE=	APACHE20
 
 NO_ARCH=	yes
 USES=		cpe zip
-JAVA_VERSION=	1.7+
+JAVA_VERSION=	8+
 USE_JAVA=	yes
 NO_BUILD=	yes
 DATADIR=	${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
diff --git a/devel/mill/Makefile b/devel/mill/Makefile
index 31a25203057c..6d4a00e7fa57 100644
--- a/devel/mill/Makefile
+++ b/devel/mill/Makefile
@@ -14,7 +14,7 @@ WWW=		https://www.lihaoyi.com/mill/
 LICENSE=	MIT
 
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 
 NO_ARCH=	yes
 NO_BUILD=	yes
diff --git a/devel/umlgraph/Makefile b/devel/umlgraph/Makefile
index dc42edfb9c44..152288da4a4a 100644
--- a/devel/umlgraph/Makefile
+++ b/devel/umlgraph/Makefile
@@ -11,7 +11,7 @@ LICENSE=	BSD3CLAUSE
 
 USE_ANT=	yes
 USE_JAVA=	yes
-JAVA_VERSION=	1.8
+JAVA_VERSION=	8
 USE_GITHUB=	yes
 GH_ACCOUNT=	dspinellis
 GH_PROJECT=	UMLGraph
diff --git a/games/minecraft-client/Makefile b/games/minecraft-client/Makefile
index 61a188bc7f9f..f6077c731a7d 100644
--- a/games/minecraft-client/Makefile
+++ b/games/minecraft-client/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS=	${JAVALIBDIR}/lwjgl/lwjgl.jar:games/lwjgl \
 
 USES=		openal
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 JAVA_OS=	native
 JAVA_VENDOR=	openjdk
 
diff --git a/games/multimc/Makefile b/games/multimc/Makefile
index 1592bfb89d15..b01f1e5d59b7 100644
--- a/games/multimc/Makefile
+++ b/games/multimc/Makefile
@@ -18,7 +18,7 @@ GH_PROJECT=	MultiMC5
 GH_TUPLE=	MultiMC:libnbtplusplus:508eda8:libnbtplusplus/libraries/libnbtplusplus \
 		MultiMC:quazip:3691d57:quazip/libraries/quazip
 USE_LDCONFIG=	yes
-USE_JAVA=	1.8+
+USE_JAVA=	8+
 USE_QT=		core concurrent gui network testlib:build widgets xml \
 		buildtools:build qmake:build
 
diff --git a/graphics/openjump/Makefile b/graphics/openjump/Makefile
index 8ac6e1ab02f2..e83a6fdf848c 100644
--- a/graphics/openjump/Makefile
+++ b/graphics/openjump/Makefile
@@ -31,7 +31,7 @@ LICENSE_PERMS_JYTHON=	auto-accept
 
 USES=		zip
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 
 NO_ARCH=	yes
 NO_BUILD=	yes
diff --git a/graphics/yed/Makefile b/graphics/yed/Makefile
index e5b8b6673d7f..53f21164fefb 100644
--- a/graphics/yed/Makefile
+++ b/graphics/yed/Makefile
@@ -18,7 +18,7 @@ LICENSE_PERMS=	no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
 USES=		cpe zip
 CPE_VENDOR=	yworks
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 
 DESKTOP_ENTRIES="yEd" "${COMMENT}" "" "yed" "Graphics;" false
 
diff --git a/java/eclipse-cdt/Makefile b/java/eclipse-cdt/Makefile
index a7e793e1a8bc..6a38f63d6b7b 100644
--- a/java/eclipse-cdt/Makefile
+++ b/java/eclipse-cdt/Makefile
@@ -19,7 +19,7 @@ USES=		zip
 USE_JAVA=	YES
 JAVA_OS=	native
 JAVA_RUN=	YES
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 
 NO_BUILD=	YES
 NO_WRKSUBDIR=	YES
diff --git a/java/eclipse-pydev/Makefile b/java/eclipse-pydev/Makefile
index dd5769906ab3..3c621218663f 100644
--- a/java/eclipse-pydev/Makefile
+++ b/java/eclipse-pydev/Makefile
@@ -16,7 +16,7 @@ RUN_DEPENDS=	${LOCALBASE}/bin/eclipse:java/eclipse
 USES=		python zip
 
 USE_JAVA=	YES
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 JAVA_OS=	native
 JAVA_RUN=	YES
 
diff --git a/java/eclipse/Makefile.plugins b/java/eclipse/Makefile.plugins
index 52b6c47b35a9..dd4de181d4c4 100644
--- a/java/eclipse/Makefile.plugins
+++ b/java/eclipse/Makefile.plugins
@@ -1,6 +1,6 @@
 NO_BUILD=	yes
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 
 REPO_DIRS?=	features plugins
 
@@ -9,4 +9,3 @@ do-install:
 	@(cd ${WRKSRC}; ${COPYTREE_SHARE} "${REPO_DIRS}" ${STAGEDIR}${PREFIX}/share/eclipse/dropins/${PORTNAME}/eclipse/)
 	@(cd ${STAGEDIR}${PREFIX}; ${FIND} -s share/eclipse/dropins/${PORTNAME} -not -type d) >> ${TMPPLIST}
 	@(cd ${STAGEDIR}${PREFIX}; ${FIND} -s -d share/eclipse/dropins/${PORTNAME} -type d -empty) | ${SED} -ne 's,^,@dir ,p' >> ${TMPPLIST}
-
diff --git a/java/lightweight-java-profiler/Makefile b/java/lightweight-java-profiler/Makefile
index 0d83d2a30ccc..a4f6b84f2a10 100644
--- a/java/lightweight-java-profiler/Makefile
+++ b/java/lightweight-java-profiler/Makefile
@@ -20,7 +20,7 @@ GH_ACCOUNT=	inevity
 GH_TAGNAME=	e8041b5
 
 USE_JAVA=	yes
-JAVA_VERSION=	1.8
+JAVA_VERSION=	8
 
 USE_LDCONFIG=	yes
 USES=		gmake shebangfix
diff --git a/java/visualvm/Makefile b/java/visualvm/Makefile
index 0f92cc4f43a3..9345c6b10880 100644
--- a/java/visualvm/Makefile
+++ b/java/visualvm/Makefile
@@ -16,7 +16,7 @@ LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 USES=		desktop-file-utils zip:infozip
 NO_BUILD=	yes
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 WRKSRC=		${WRKDIR}/visualvm_${PORTVERSION:S/.//g}
 SUB_FILES=	visualvm.desktop
 
diff --git a/java/wildfly14/Makefile b/java/wildfly14/Makefile
index 9de39f32c7d4..72816fa6b9df 100644
--- a/java/wildfly14/Makefile
+++ b/java/wildfly14/Makefile
@@ -12,7 +12,7 @@ LICENSE=	GPLv2
 
 USE_RC_SUBR=	wildfly14
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 USER=		www
 GROUP=		www
 VAR_DIR?=	/var
diff --git a/java/wildfly15/Makefile b/java/wildfly15/Makefile
index 15c27cc19ebf..1515b92b60bd 100644
--- a/java/wildfly15/Makefile
+++ b/java/wildfly15/Makefile
@@ -13,7 +13,7 @@ LICENSE=	GPLv2
 USE_RC_SUBR=	wildfly15
 USE_JAVA=	yes
 
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 USER=		www
 GROUP=		www
 VAR_DIR?=	/var
diff --git a/java/wildfly16/Makefile b/java/wildfly16/Makefile
index 6ef51a2b2e96..f07659d7ea4b 100644
--- a/java/wildfly16/Makefile
+++ b/java/wildfly16/Makefile
@@ -13,7 +13,7 @@ LICENSE=	GPLv2
 USE_RC_SUBR=	wildfly16
 USE_JAVA=	yes
 
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 USER=		www
 GROUP=		www
 VAR_DIR?=	/var
diff --git a/java/wildfly17/Makefile b/java/wildfly17/Makefile
index de41c2e3d018..133457a9e2ad 100644
--- a/java/wildfly17/Makefile
+++ b/java/wildfly17/Makefile
@@ -13,7 +13,7 @@ LICENSE=	GPLv2
 USE_RC_SUBR=	wildfly17
 USE_JAVA=	yes
 
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 USER=		www
 GROUP=		www
 VAR_DIR?=	/var
diff --git a/java/wildfly18/Makefile b/java/wildfly18/Makefile
index d32487aae2e4..ddcff65ee819 100644
--- a/java/wildfly18/Makefile
+++ b/java/wildfly18/Makefile
@@ -13,7 +13,7 @@ LICENSE=	GPLv2
 USE_RC_SUBR=	wildfly18
 USE_JAVA=	yes
 
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 USER=		www
 GROUP=		www
 VAR_DIR?=	/var
diff --git a/java/wildfly24/Makefile b/java/wildfly24/Makefile
index f54cf18f67d7..a989c25952fc 100644
--- a/java/wildfly24/Makefile
+++ b/java/wildfly24/Makefile
@@ -13,7 +13,7 @@ LICENSE=	GPLv2
 USE_RC_SUBR=	wildfly24
 USE_JAVA=	yes
 
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 USER=		www
 GROUP=		www
 VAR_DIR?=	/var
diff --git a/java/wildfly25/Makefile b/java/wildfly25/Makefile
index a4a2eab44d28..9ef944d02c1a 100644
--- a/java/wildfly25/Makefile
+++ b/java/wildfly25/Makefile
@@ -13,7 +13,7 @@ LICENSE=	GPLv2
 USE_RC_SUBR=	wildfly25
 USE_JAVA=	yes
 
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 USER=		www
 GROUP=		www
 VAR_DIR?=	/var
diff --git a/java/wildfly26/Makefile b/java/wildfly26/Makefile
index b5d114323a40..827ce5d285bb 100644
--- a/java/wildfly26/Makefile
+++ b/java/wildfly26/Makefile
@@ -13,7 +13,7 @@ LICENSE=	GPLv2
 USE_RC_SUBR=	wildfly26
 USE_JAVA=	yes
 
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 USER=		www
 GROUP=		www
 VAR_DIR?=	/var
diff --git a/lang/clojure/Makefile b/lang/clojure/Makefile
index 121754cf4e62..a00f816ba33c 100644
--- a/lang/clojure/Makefile
+++ b/lang/clojure/Makefile
@@ -14,7 +14,7 @@ RUN_DEPENDS=	bash:shells/bash \
 		rlwrap:devel/rlwrap
 
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 NO_ARCH=	yes
 NO_BUILD=	yes
 
diff --git a/lang/jruby/Makefile b/lang/jruby/Makefile
index 7f48edcfdfba..60b4a66d276f 100644
--- a/lang/jruby/Makefile
+++ b/lang/jruby/Makefile
@@ -16,7 +16,7 @@ RUN_DEPENDS=	bash:shells/bash
 USES=		cpe
 USE_JAVA=	yes
 
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 NO_BUILD=	yes
 
 JRUBY_HOME?=	${PREFIX}/share/${PORTNAME}
diff --git a/lang/scala/Makefile b/lang/scala/Makefile
index c63f82b7bf68..84ba017793aa 100644
--- a/lang/scala/Makefile
+++ b/lang/scala/Makefile
@@ -15,7 +15,7 @@ RUN_DEPENDS=	bash:shells/bash
 USES=		cpe
 CPE_VENDOR=	${PORTNAME}-lang
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 
 NO_ARCH=	yes
 NO_BUILD=	yes
diff --git a/misc/openhab2/Makefile b/misc/openhab2/Makefile
index 09e06a7c5d51..2971170c348b 100644
--- a/misc/openhab2/Makefile
+++ b/misc/openhab2/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
 
 USES=		cpe zip
 USE_JAVA=	yes
-JAVA_VERSION=	1.8
+JAVA_VERSION=	8
 JAVA_RUN=	yes
 USE_RC_SUBR=	openhab2
 SUB_FILES=	pkg-message update.freebsd
diff --git a/net-im/openfire/Makefile b/net-im/openfire/Makefile
index 4a9de2fd511d..dfca1b9ca309 100644
--- a/net-im/openfire/Makefile
+++ b/net-im/openfire/Makefile
@@ -21,7 +21,7 @@ USE_GITHUB=	YES
 GH_ACCOUNT=	igniterealtime
 GH_PROJECT=	Openfire
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 
 USE_RC_SUBR=	${PORTNAME}
 NO_ARCH=	yes
diff --git a/net-mgmt/riemann/Makefile b/net-mgmt/riemann/Makefile
index 4b2ca96aae28..9aea4d0e5dbc 100644
--- a/net-mgmt/riemann/Makefile
+++ b/net-mgmt/riemann/Makefile
@@ -15,7 +15,7 @@ USES=		tar:bzip2
 NO_BUILD=	yes
 NO_ARCH=	yes
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 
 SUB_LIST=	JAVA_HOME=${JAVA_HOME}
 
diff --git a/net/serviio/Makefile b/net/serviio/Makefile
index 3efdf9c0ba81..6a18f7067646 100644
--- a/net/serviio/Makefile
+++ b/net/serviio/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS=	ffmpeg:multimedia/ffmpeg
 
 NO_BUILD=	yes
 USE_JAVA=	yes
-JAVA_VERSION=	1.8
+JAVA_VERSION=	8
 USES=		dos2unix
 DOS2UNIX_GLOB=	derby.properties
 
diff --git a/sysutils/digdag/Makefile b/sysutils/digdag/Makefile
index 7795f4770cb1..dc356f3b47f2 100644
--- a/sysutils/digdag/Makefile
+++ b/sysutils/digdag/Makefile
@@ -12,7 +12,7 @@ WWW=		https://www.digdag.io/
 LICENSE=	APACHE20
 
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 JAVA_VENDOR=	openjdk
 JAVA_RUN=	yes
 USE_RC_SUBR=	${PORTNAME}
diff --git a/sysutils/puppetserver6/Makefile b/sysutils/puppetserver6/Makefile
index 06e46d12d118..751c3609d699 100644
--- a/sysutils/puppetserver6/Makefile
+++ b/sysutils/puppetserver6/Makefile
@@ -29,7 +29,7 @@ USE_RC_SUBR=	puppetserver
 USE_JAVA=	yes
 NO_ARCH=	yes
 NO_BUILD=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 
 CONFLICTS_INSTALL=	puppetserver7
 
diff --git a/sysutils/puppetserver7/Makefile b/sysutils/puppetserver7/Makefile
index fd82becd4011..8c9f65ac52d0 100644
--- a/sysutils/puppetserver7/Makefile
+++ b/sysutils/puppetserver7/Makefile
@@ -26,7 +26,7 @@ USE_RC_SUBR=	puppetserver
 USE_JAVA=	yes
 NO_ARCH=	yes
 NO_BUILD=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 
 CONFLICTS_INSTALL=	puppetserver5 puppetserver6
 
diff --git a/sysutils/rundeck2/Makefile b/sysutils/rundeck2/Makefile
index f34ee8bbd786..3053576cd885 100644
--- a/sysutils/rundeck2/Makefile
+++ b/sysutils/rundeck2/Makefile
@@ -16,7 +16,7 @@ DEPRECATED=	unmaintained and newer version available in sysutils/rundeck3
 EXPIRATION_DATE=	2023-05-17
 
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 
 CONFLICTS_INSTALL=	rundeck3
 
diff --git a/sysutils/rundeck3/Makefile b/sysutils/rundeck3/Makefile
index 84a789831d01..ee34cb69f2d0 100644
--- a/sysutils/rundeck3/Makefile
+++ b/sysutils/rundeck3/Makefile
@@ -18,7 +18,7 @@ EXPIRATION_DATE=	2023-09-23
 USES=		cpe
 CPE_VENDOR=	pagerduty
 USE_JAVA=	yes
-JAVA_VERSION=	8 11
+JAVA_VERSION=	8+
 USE_RC_SUBR=	rundeck
 
 CONFLICTS_INSTALL=	rundeck2
diff --git a/www/libresonic-standalone/Makefile b/www/libresonic-standalone/Makefile
index 9ed516a7feca..e49ceee25b1d 100644
--- a/www/libresonic-standalone/Makefile
+++ b/www/libresonic-standalone/Makefile
@@ -49,7 +49,7 @@ EXTRACT_AFTER_ARGS=	libresonic.war
 
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 JAVA_RUN=	yes
 # Don't waste UID/GID and reuse Subsonic's user.
 USERS=		subsonic
diff --git a/www/payara/Makefile b/www/payara/Makefile
index 7cd9bb496e9c..010a488143c9 100644
--- a/www/payara/Makefile
+++ b/www/payara/Makefile
@@ -11,7 +11,7 @@ LICENSE_COMB=	dual
 
 USES=		zip
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 NO_BUILD=	yes
 
 WRKSRC=		${WRKDIR}/payara5
diff --git a/www/selenium/Makefile b/www/selenium/Makefile
index 27d5c32cfb42..ccf5f4386384 100644
--- a/www/selenium/Makefile
+++ b/www/selenium/Makefile
@@ -16,7 +16,7 @@ USES=		cpe
 CPE_VENDOR=	jenkins
 
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 JAVA_RUN=	yes
 
 USE_RC_SUBR=	selenium
diff --git a/www/tomcat9/Makefile b/www/tomcat9/Makefile
index 05c91ff873de..9c5a517f883c 100644
--- a/www/tomcat9/Makefile
+++ b/www/tomcat9/Makefile
@@ -16,7 +16,7 @@ RUN_DEPENDS=	jsvc:devel/apache-commons-daemon
 USES=		cpe
 CPE_VENDOR=	apache
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 USE_RC_SUBR=	${PKGBASE:C/-/_/}
 
 NO_ARCH=	yes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304041811.334IB93k074119>