Please help me I want to update my java version 1.6 to 1.8 in mac using Terminal, if anyone knows please share details.
Thank You
use sdkman
to manage multiple java sdks
https://github.com/sdkman/sdkman-cli
https://medium.com/@ajeesh2705/use-multiple-version-of-java-6219258bd8eb
Install homebrew
if you don't have it:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install java 1.8
:
brew cask install java8
# or brew tap adoptopenjdk/openjdk
# brew cask install adoptopenjdk8
Delete the java 1.6 later if you wish.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.