diff options
author | Masahiro Kitagawa | 2024-04-23 12:08:58 +0900 |
---|---|---|
committer | Masahiro Kitagawa | 2024-04-23 12:09:15 +0900 |
commit | 2c5d25ffca77e870ee6a3f127b8a8f1725af519b (patch) | |
tree | 69775cf0a968c81e01d59de9e0c2996b5f0332b3 /PKGBUILD | |
parent | 2fe48e841a2b600ca451712df66e829530eb79c6 (diff) | |
download | aur-2c5d25ffca77e870ee6a3f127b8a8f1725af519b.tar.gz |
Drop support Java < 21
javahelp2 on AUR is built with jdk21 now, and it causes build failure with jdk17:
"class file has wrong version 65.0, should be 61.0"
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -17,7 +17,7 @@ depends=( 'gcc-libs' 'glibc' 'hicolor-icon-theme' - 'java-runtime>=17' + 'java-runtime>=21' 'javahelp2' 'lcms2' 'lensfun' @@ -26,7 +26,7 @@ depends=( 'libraw' 'libxml2' ) -makedepends=('java-environment=17' +makedepends=('java-environment=21' 'ant' 'autoconf' 'gcc' @@ -52,8 +52,6 @@ prepare() { build() { if [ -d /usr/lib/jvm/java-21-openjdk ]; then export JAVA_HOME=/usr/lib/jvm/java-21-openjdk - elif [ -d /usr/lib/jvm/java-17-openjdk ]; then - export JAVA_HOME=/usr/lib/jvm/java-17-openjdk else export JAVA_HOME=/usr/lib/jvm/default fi |