slackbuilds_ponce/development/zulu-openjdk21/zulu-openjdk21.sh
Andrew Clemons 3bbf2d2c2a
development/zulu-openjdk21: Updated for version 21.0.4.
Allow profile script to override jdk.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2024-09-06 22:27:35 +07:00

10 lines
314 B
Bash

#!/bin/sh
export JAVA_HOME=/usr/lib%LIBDIRSUFFIX%/zulu-openjdk21
export MANPATH="${JAVA_HOME}/man:${MANPATH}"
export PATH="${JAVA_HOME}/bin:${PATH}"
if [ -z "$LD_LIBRARY_PATH" ]; then
export LD_LIBRARY_PATH="${JAVA_HOME}/lib/server"
else
export LD_LIBRARY_PATH="${JAVA_HOME}/lib/server:${LD_LIBRARY_PATH}"
fi