#!/bin/csh
setenv JAVA_HOME /usr/lib%LIBDIRSUFFIX%/zulu-openjdk17
setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
setenv PATH ${PATH}:${JAVA_HOME}/bin

if ($?LD_LIBRARY_PATH == 1) then
  setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${JAVA_HOME}/lib/server::${JAVA_HOME}/lib
else
  setenv LD_LIBRARY_PATH ${JAVA_HOME}/lib/server:${JAVA_HOME}/lib
endif
