Home  >  Article  >  Java  >  Detailed explanation of examples of configuring Java development environment with Homebrew

Detailed explanation of examples of configuring Java development environment with Homebrew

零下一度
零下一度Original
2017-06-25 13:29:372040browse

Query java

brew cask search java

View version information

brew cask info java

Download and install JDK 8 from the official website

brew cask install java

You need to install JDK 7 or JDK 6, you can use homebrew-cask- versions:

brew tap caskroom/versions
brew cask install java6

Check

java -version

Tip: What is the difference between brew and brew cask?

Similarly, install eclipse

brew cask search eclipse
brew cask install eclipse-ide

Check

Ok.

The above is the detailed content of Detailed explanation of examples of configuring Java development environment with Homebrew. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn