Skip to content

Instantly share code, notes, and snippets.

@kanedafromparis
Created January 29, 2024 13:12
Show Gist options
  • Save kanedafromparis/9ee6f4da82dfb0b3117f738918f5a179 to your computer and use it in GitHub Desktop.
Save kanedafromparis/9ee6f4da82dfb0b3117f738918f5a179 to your computer and use it in GitHub Desktop.

install

install sdkman

from https://github.com/sdkman/homebrew-tap

brew tap sdkman/tap
brew install sdkman-cli

install java

sdk install java 17.0.10-tem

run my java jar

# cd ..... to my jar then
sdk use java 17.0.10-tem
java -jar my.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment