Restart the terminal or use source ~/.zshrcĬheck if your JEnv is correctly installed jenv doctor Add these two lines in your bash profile file export PATH="$HOME/.jenv/bin:$PATH" Installing JEnv - java version manager a cool tool helps you to switch between multiple java env on your mac brew install jenvĪdding jEnv to your path depends on the shell you are using ~/.bash_profile or ~/.bashrc, for zsh it's ~/.zshrc. If you have already had homebrew (a package installer in mac), you can skip this step.įor installing or updating homebrew /bin/bash -c "$(curl -fsSL )" In mac it's pretty simple you can have two or many java versions and based on your requirement you can change that.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |