Mac Configuration Java Environment

Source: Internet
Author: User
First download: The URL is as follows:

Http://www.oracle.com/technetwork/cn/java/javase/downloads/jdk7-downloads-1880260.html

Configure environment variables: 1. Command Line Input
cd ~vim .bash_profile
2. Edit to put the following content
export JAVA_HOME=‘/Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home‘export PATH=$PATH:$JAVA_HOME/bin
3. Update
source .bash_profile
4. Verify that:
java -version
My QR code is as follows, welcome to exchange discussion

You are welcome to pay attention to the "It question summary" subscription number. Every day to push the classic face test and interview tips, are dry! The QR code of the subscription number is as follows:

Mac Configuration Java Environment

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.