slackbuilds_ponce/development/zulu-openjdk11/zulu-openjdk11.csh
Andrew Clemons 6575d99f88
development/zulu-openjdk11: Updated for version 11.0.24.
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
308 B
Tcsh

#!/bin/csh
setenv JAVA_HOME /usr/lib%LIBDIRSUFFIX%/zulu-openjdk11
setenv MANPATH ${JAVA_HOME}/man:${MANPATH}
setenv PATH ${JAVA_HOME}/bin:${PATH}
if ($?LD_LIBRARY_PATH == 1) then
setenv LD_LIBRARY_PATH ${JAVA_HOME}/lib/server:${LD_LIBRARY_PATH}
else
setenv LD_LIBRARY_PATH ${JAVA_HOME}/lib/server
endif