Skip to content

Instantly share code, notes, and snippets.

@navicore
Last active May 17, 2023 17:14
Show Gist options
  • Save navicore/8c66707f0b23a4f92a55caa0f97d8bb9 to your computer and use it in GitHub Desktop.
Save navicore/8c66707f0b23a4f92a55caa0f97d8bb9 to your computer and use it in GitHub Desktop.
jenv and jdk install

linux

sudo apt install openjdk-19-jdk 
jenv add

osx

#$%#%^ing Java keeps moving around - latest versions are something like:

brew install openjdk@19
jenv add /usr/local/Cellar/openjdk/19.0.1/
jenv global 19.0
@esweeney-cg
Copy link

$ echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.zshrc
$ echo 'eval "$(jenv init -)"' >> ~/.zshrc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment