Skip to content

Upgrading jdk from 16 to 17 #163

Answered by dsgrieve
debjitpal5040 asked this question in Q&A
Discussion options

You must be logged in to vote

Your Mac will use the latest installed JVM. That said, you should check to see if you have JAVA_HOME set in your environment and update it accordingly. FWIW, your can use /usr/libexec/java_home to see what the current JVM is. Run it with -help for other options. You can toggle between versions with /usr/libexec/java_home --version , or set JAVA_HOME, e.g. export JAVA_HOME=$(/usr/libexec/java_home --version 16)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@debjitpal5040
Comment options

@dsgrieve
Comment options

@debjitpal5040
Comment options

@karianna
Comment options

Answer selected by karianna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants