Skip to content

Commit

Permalink
dev/java: use 17
Browse files Browse the repository at this point in the history
  • Loading branch information
ztlevi committed Apr 10, 2024
1 parent 5649cc5 commit 1922334
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev/java/_init
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
source ${0:A:h}/../../deploy

install() {
brew install gradle maven jenv openjdk@21
brew install gradle maven jenv openjdk@17
# Note: JAVA_HOME is reset by jenv, use jenv to set global and local
eval "$(jenv init -)"
jenv add $(brew --prefix openjdk@21)
jenv global 21
jenv add $(brew --prefix openjdk@17)
jenv global 17
}

# update() {}
Expand Down

0 comments on commit 1922334

Please sign in to comment.