aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmail.com>2024-08-30 12:43:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-30 16:00:42 +0700
commit204ca22d7bba6357dad45510522e3f1b7f587f3d (patch)
tree8b5474a70a8e2dfdfef9db3c7f1f91c7dfb6ef32 /development
parentd385345c7cf7b988352172bf245719f81b13b769 (diff)
development/OpenJDK11: Updated for version 11.0.24.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/OpenJDK11/OpenJDK11.SlackBuild27
-rw-r--r--development/OpenJDK11/OpenJDK11.info26
-rw-r--r--development/OpenJDK11/README9
-rw-r--r--development/OpenJDK11/java.pngbin4955 -> 1820 bytes
4 files changed, 37 insertions, 25 deletions
diff --git a/development/OpenJDK11/OpenJDK11.SlackBuild b/development/OpenJDK11/OpenJDK11.SlackBuild
index c8f24532fcd6b..a48caa2549f5c 100644
--- a/development/OpenJDK11/OpenJDK11.SlackBuild
+++ b/development/OpenJDK11/OpenJDK11.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for OpenJDK11
-# Copyright 2021, 2022, 2023 Lenard Spencer, Orlando, Florida, USA
+# Copyright 2021, 2022, 2023, 2024 Lenard Spencer, Orlando, Florida, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=OpenJDK11
-VERSION=${VERSION:-11.0.23}
+VERSION=${VERSION:-11.0.24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -53,11 +53,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
- BSARCH="i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- BSARCH="x86_64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -73,16 +74,24 @@ tar xvf $CWD/jdk11u-jdk-${VERSION}-ga.tar.gz
# Building openjdk from source requires bootstrapping from either a
# current or previous version of the (open)jdk binary installation.
-# Extract the OpenJDK10 binary to bootstrap
+# Extract the OpenJDK11 binary to bootstrap
# (thanks to BLFS for the binary packages):
-rm -rf $TMP/OpenJDK-10.0.2+13-$BSARCH-bin
-tar xvf $CWD/OpenJDK-10.0.2+13-$BSARCH-bin.tar.xz
-export BOOT_JAVA=$TMP/OpenJDK-10.0.2+13-$BSARCH-bin
+if [ "$ARCH" = "x86_64" ]; then
+ export BSDIR="OpenJDK-11.0.2+9-x86_64-bin"
+ rm -rf $BSDIR
+ tar xvf $CWD/OpenJDK-11.0.2+9-x86_64-bin.tar.xz
+else
+ export BSDIR="OpenJDK-11.0.2+9-i686-bin"
+ rm -rf $BSDIR
+ tar xvf $CWD/OpenJDK-11.0.2+9-i686-bin.tar.xz
+fi
+
+export BOOT_JAVA=$TMP/$BSDIR
# Unpack the jtreg package to run the tests:
if [ "${TESTS:-no}" = "yes" ]; then
rm -rf $TMP/jtreg{,-reports}
- tar xvf $CWD/jtreg-6.1-1.tar.xz
+ tar xvf $CWD/jtreg-7.3.1+1.tar.gz
JTREG="--with-jtreg=$TMP/jtreg"
else
JTREG=""
diff --git a/development/OpenJDK11/OpenJDK11.info b/development/OpenJDK11/OpenJDK11.info
index 64b635534f50f..d84f3101f6b9c 100644
--- a/development/OpenJDK11/OpenJDK11.info
+++ b/development/OpenJDK11/OpenJDK11.info
@@ -1,18 +1,18 @@
PRGNAM="OpenJDK11"
-VERSION="11.0.23"
+VERSION="11.0.24"
HOMEPAGE="https://openjdk.java.net/"
-DOWNLOAD="https://github.com/openjdk/jdk11u/archive/jdk-11.0.23-ga/jdk11u-jdk-11.0.23-ga.tar.gz \
- https://anduin.linuxfromscratch.org/BLFS/OpenJDK/OpenJDK-10.0.2/OpenJDK-10.0.2+13-i686-bin.tar.xz \
- http://www.lenardspencer.net/linux/slackbuilds/OpenJDK-bootstraps/jtreg-6.1-1.tar.xz"
-MD5SUM="933114e589ecd40ac69eb56f05cfc8ba \
- d66af9a4303ce9d0c93c92945048e361 \
- e3389e74678dcf707b5b3d5ec6c7510d"
-DOWNLOAD_x86_64="https://github.com/openjdk/jdk11u/archive/jdk-11.0.23-ga/jdk11u-jdk-11.0.23-ga.tar.gz \
- https://anduin.linuxfromscratch.org/BLFS/OpenJDK/OpenJDK-10.0.2/OpenJDK-10.0.2+13-x86_64-bin.tar.xz \
- http://www.lenardspencer.net/linux/slackbuilds/OpenJDK-bootstraps/jtreg-6.1-1.tar.xz"
-MD5SUM_x86_64="933114e589ecd40ac69eb56f05cfc8ba \
- a550f9e2aa1e8437346bb52a7b36052e \
- e3389e74678dcf707b5b3d5ec6c7510d"
+DOWNLOAD="https://github.com/openjdk/jdk11u/archive/jdk-11.0.24-ga/jdk11u-jdk-11.0.24-ga.tar.gz \
+ https://anduin.linuxfromscratch.org/BLFS/OpenJDK/OpenJDK-11.0.2/OpenJDK-11.0.2+9-i686-bin.tar.xz \
+ https://anduin.linuxfromscratch.org/BLFS/OpenJDK/OpenJDK-21.0.2/jtreg-7.3.1+1.tar.gz"
+MD5SUM="2033f5a1f9b2395c343714d059d1c925 \
+ 2b917647040e9804e0f3ccd51f40394b \
+ 0038551ecaf37d0cd99832217f79e56d"
+DOWNLOAD_x86_64="https://github.com/openjdk/jdk11u/archive/jdk-11.0.24-ga/jdk11u-jdk-11.0.24-ga.tar.gz \
+ https://anduin.linuxfromscratch.org/BLFS/OpenJDK/OpenJDK-11.0.2/OpenJDK-11.0.2+9-x86_64-bin.tar.xz \
+ https://anduin.linuxfromscratch.org/BLFS/OpenJDK/OpenJDK-21.0.2/jtreg-7.3.1+1.tar.gz"
+MD5SUM_x86_64="2033f5a1f9b2395c343714d059d1c925 \
+ 86ac6b057637f8b0b21bae13071e574e \
+ 0038551ecaf37d0cd99832217f79e56d"
REQUIRES=""
MAINTAINER="Lenard Spencer"
EMAIL="lenardrspencer@gmail.com"
diff --git a/development/OpenJDK11/README b/development/OpenJDK11/README
index 428b766aa8c97..2ede0a1543650 100644
--- a/development/OpenJDK11/README
+++ b/development/OpenJDK11/README
@@ -22,16 +22,19 @@ removed before running this script.
To test the build, pass TESTS=yes. This will unpack the jtreg package
to run the tests. You should expect to see somewhere in the area of
-about 20 to 30 failures and about 30 to 40 errors. The reports will be
+about 2 dozen failures and about 2 dozen errors. The reports will be
saved in $TMP/jtreg-reports if you want to review them.
After installing this package you will need to logout/login to your
machine as it will add new files to the /etc/profile.d folder.
+NOTE: This needs almost 4 GB of storage to build, so if space on your
+/tmp is limited, you may want to adjust $TMP to another partition.
+
BIG FAT NOTE: If you have ANY JDK installed (jdk, zulu-openjdk,
OpenJDK, etc.), you MUST first uninstall it, then logout/login to
clear the JAVA_HOME folder from your $PATH in order to build this
package, otherwise the build will fail.
-MANY thanks to the BLFS community for maintaining 32-bit builds of the
-later versions of OpenJDK 10 we use for bootstrapping.
+MANY thanks to the BLFS community for maintaining 32 and 64 bit builds
+of OpenJDK 11 we use for bootstrapping.
diff --git a/development/OpenJDK11/java.png b/development/OpenJDK11/java.png
index 0c41d652a3c6e..607a4d9b221bc 100644
--- a/development/OpenJDK11/java.png
+++ b/development/OpenJDK11/java.png
Binary files differ