brew is one of Mac's package management systems. You can install various software with one command, Easy to upgrade and uninstall
%> /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install java8 immediately using brew
%> brew install Caskroom/cask/java
jenv is software that can manage multiple java versions Put it in for the time being
%> echo -e 'if which jenv > /dev/null; then \n export JENV_ROOT=/usr/local/var/jenv \n eval "$(jenv init -)" \nfi' >> ~/.bashrc %> source ~/.bashrc
You can see all the java currently installed with jenv versions. Java, which is installed by default on Mac, is used.
%> jenv versions * system 1.8 22.214.171.124 oracle64-126.96.36.199
Changed java used in system to 188.8.131.52
%> jenv global 184.108.40.206
%> jenv versions system 1.8 * 220.127.116.11 oracle64-18.104.22.168
Include an integrated development environment that is essential for java development
brew cask install eclipse-jee
This is the end for the time being. Tired