MAC Configuration Java Development environment

Source: Internet
Author: User
Tags brew cask

It is recommended that Apple install MacOS missing Package Manager->homebrew loading and unloading software is very convenient

What is homebrew? Homebrew is the easiest and most flexible the "to install" the UNIX tools Apple didn ' t include with OS x. The official explanation is very clear, Homebrew is a package manager that installs some UNIX tools (such as the famous wget) that are not available on your Mac for OS X.

Homebrew installs all of these tools into the/usr/local/cellar directory and creates symbolic links in/usr/local/bin.

Homebrew official website https://brew.sh/index_zh-cn.html
1. Open the Mac terminal input/usr/bin/ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)"
Download wait can generally not be wrong the middle need to enter the system password
Unload input If an error occurs
Ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
and re-install
After the installation is complete, you will be prompted to verify that the installation was successful or not


Enter brew doctor to indicate that it is already running
2. Installing the Java JDK
2.1 Querying Java

    brew cask search java

2.2 Viewing version information

    brew cask info java2.3从官网下载并安装 JDK 最新版本 现在是9    brew cask install java需要安装 JDK 7 或者 JDK 6,可以使用homebrew-cask-versions:brew tap caskroom/versionsbrew cask install java7    安装完成后使用 java -version 验证环境变量(自动配置好的)

3. Install the development tools eclipse
Brew Cask Install eclipse-ide (with cask download is the app graphical interface form)

MAC Configuration Java Development environment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.