slackbuilds_ponce/development/zulu-openjdk17/zulu-openjdk17.csh
Andrew Clemons 379b6ecf62
development/zulu-openjdk17: Updated for version 17.0.12.
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-openjdk17
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