aboutsummaryrefslogtreecommitdiff
path: root/development/zulu-openjdk17/zulu-openjdk17.csh
diff options
context:
space:
mode:
Diffstat (limited to 'development/zulu-openjdk17/zulu-openjdk17.csh')
-rw-r--r--development/zulu-openjdk17/zulu-openjdk17.csh7
1 files changed, 6 insertions, 1 deletions
diff --git a/development/zulu-openjdk17/zulu-openjdk17.csh b/development/zulu-openjdk17/zulu-openjdk17.csh
index 0f7eefc2c626f..f2ee2498cd2d9 100644
--- a/development/zulu-openjdk17/zulu-openjdk17.csh
+++ b/development/zulu-openjdk17/zulu-openjdk17.csh
@@ -2,4 +2,9 @@
setenv JAVA_HOME /usr/lib%LIBDIRSUFFIX%/zulu-openjdk17
setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
setenv PATH ${PATH}:${JAVA_HOME}/bin
-setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${JAVA_HOME}/lib/server
+
+if ($?LD_LIBRARY_PATH == 1) then
+ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${JAVA_HOME}/lib/server
+else
+ setenv LD_LIBRARY_PATH ${JAVA_HOME}/lib/server
+endif