The Java Jdk__java under MAC

Source: Internet
Author: User

Basic Relationship

MAC OS X integrates a fully configured, Ready-to-use Java Runtime and development environment. The full version of J2SE and JDK,JVM have been pre-installed in Mac OS X to avoid downloading, installing, and configuring the JDK. The integrated Java version under Mac OS X is similar to other sun (Oracle)-released Java versions, the only difference being that Java under Mac OS X is released by Apple and tightly bound to enter the Mac OS X system.

(Mac has JDK, you don't need to install it.) To view the version on the machine: ls-la/system/library/frameworks/javavm.framework/versions/)

MAC OS X Java features

Java applications deployed in Mac OS X can take advantage of many of its built-in features, including support for 64-bit systems, resolution independence, automatic support for multiple processors, and access to local Java APIs that support Mac OS. The Java application of Mac OS X is consistent with how the local application of Mac OS X looks and executes.

MAC OS x version & Java version

In the Mac OS X v10.5 "Leopard" (Cheetah) preinstalled Java version is j2se1.5. This version can be automatically upgraded to the j2se1.6 version. MAC OS X v10.7 "Lion" (lion) pre-installed JDK version j2se1.6. The version of OS X is not synchronized with the Java version, and the update of the Java version under Apple is also not synchronized with the Java version published by Sun (Oracle).

New versions of Java under OS X will be downloaded automatically via software updates. To update the Java version, you can optionally download and install the new version when prompted. The new version of Java overwrites the old version, and once the new version is installed to OS X, it cannot be uninstalled, through the Applications (application)-> Utils (utility)-> Java Preferences (Preferences), A list of Java JDK provided under the common options, which, by dragging, can change the priority of the JDK version that is being used by the current system.


JDK1.7

Apple's developer center, "The Mac under the Java Development Guide," points out that with OS X v10.6 Update 3 Java release, the company does not agree with developers to use the Java runtime provided and integrated into OS X. Developers should no longer rely on the Java runtime provided by Apple in future OS X versions. But Apple will continue to provide support and maintenance for OS X v10.6 Snow Leopard, and Java Runtime under OS X v10.5 Leopard.

At the same time, in the JDK7 download link directory provided under the Oracle website, we can clearly see the link address for the JDK with the Mac OS version.

This is the first version of the Java JDK that Oracle has ever provided for Mac releases.

For the JDK 7u6 installation version that is indicated in the previous illustration, the MAC system requirements are Mac OS X v10.7.3 (Lion) or later versions. Older versions of the MAC system will force the JDK6.0 version or other earlier versions to run

For more features of Java under OS X, check out Apple's website instructions. Referenced in

Reference: Mac os X 10.6:developing java applications Java and the Mac OS X JDK 7 for Mac OS X Java Development Guide for Mac //-------------------------- ------------------------ cited for: http://my.oschina.net/hmj/blog/79939

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.