aboutsummaryrefslogtreecommitdiff
path: root/development/zulu-openjdk21/zulu-openjdk21.sh
blob: 074fcdf0834508b6a3a0ea1995a4972fd35b886b (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
export JAVA_HOME=/usr/lib%LIBDIRSUFFIX%/zulu-openjdk21
export MANPATH="${MANPATH}:${JAVA_HOME}/man"
export PATH="${PATH}:${JAVA_HOME}/bin"

if [ -z "$LD_LIBRARY_PATH" ]; then
  export LD_LIBRARY_PATH="${JAVA_HOME}/lib/server"
else
  export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${JAVA_HOME}/lib/server"
fi