Installing JRE and JDK 9.0 in MacOS 10.13

Source: Internet
Author: User
1. Preface:
In MacOS 10.13, the JRE is not found by default.
> ls/library/java/javavirtualmachines/
The directory is empty.

2. Installing the JRE
: https://java.com/zh_CN/download/
Package JRE-9.0.4_OSX-X64_BIN.DMG, directly double-click to load the installation.
Installation path:/library/internet\ plug-ins/javaappletplugin.plugin/contents/home/
Test run:
> /library/internet\ plug-ins/javaappletplugin.plugin/contents/home/bin/java-version
Java Version "9.0.4"
Java (TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot (TM) 64-bit Server VM (build 9.0.4+11, Mixed mode)

3. Installing the JDK
Ibid.
Package: JDK-9.0.4_OSX-X64_BIN.DMG, double-click Load installation.
Installation path:/library/java/javavirtualmachines/jdk-9.0.4.jdk/contents/home/
Test run:

Java-version
Java Version "9.0.4"
Java (TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot (TM) 64-bit Server VM (build 9.0.4+11, Mixed mode)

Installing JRE and JDK 9.0 in MacOS 10.13

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.