Skip to content

Commit

Permalink
Update mac.sh
Browse files Browse the repository at this point in the history
--ci
  • Loading branch information
linianhui committed Dec 21, 2024
1 parent 907026f commit 2255bb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/linux/script/mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ source $(dirname $0)/a.sh
# tar xvf openjdk.tar.gz /lnh/_app/_java11
# export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
# /usr/libexec/java_home -v 1.8
export JAVA_8_HOME=`/lnh/_app/_java8`
export JAVA_11_HOME=`/lnh/_app/_java11`
export JAVA_17_HOME=`/lnh/_app/_java17`
export JAVA_21_HOME=`/lnh/_app/_java21`
export JAVA_8_HOME=/lnh/_app/_java8
export JAVA_11_HOME=/lnh/_app/_java11
export JAVA_17_HOME=/lnh/_app/_java17
export JAVA_21_HOME=/lnh/_app/_java21
export JAVA_HOME=$JAVA_8_HOME

launchctl setenv JAVA_HOME $JAVA_HOME
Expand Down

0 comments on commit 2255bb5

Please sign in to comment.