Mac system installation Java 7 Pain-Free Introduction

Source: Internet
Author: User

As of today, Oracle has launched JDK 8, for this new version, I believe many people and I dare not try. Since JDK 7 is already supported on some platforms, such as the latest Android system, upgrading JDK 6 to 7 on Mac will solve some development needs.

Mac systems have built-in JDK versions of the previous OS, but only JRE 6 is built into the latest mavericks. The Mac system lacks JDK but can install the JDK through its upgrade mechanism, unfortunately Apple officially supports/installs JDK 6. It seems that Mac has some lag in Java support. Fortunately, upgrading the JDK on your Mac is simple, and you can follow these steps:

1. Download the DMG installation package for the Mac platform on the Java SE develoment Kit 7 download page of the Oracle website. Because the MAC system processor is 64-bit, only the only corresponding installation package can be selected!

2. Double-click the DMG installation package to display an installation interface and double-click the pkg icon to start the installation.

At the command line after the installation is complete, enter:

Java--version

Echo:

Java version "1.7.0_67" Java (tm) SE Runtime Environment (build 1.7.0_67-b01) Java HotSpot (tm) 64-bit Server VM (Build 24.65- B04, Mixed mode)

BINGO,JDK 7 has been installed!

Mac system installation Java 7 Pain-Free Introduction

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.