10 Installed Directory Structure of JDK and JRE

When you install jdk-9, public jre-9 also gets installed automatically.

This section details the files and folders of the installed directory.

Development Files and Directories

The modular runtime image of jdk-9 contains the following folders:

Note:

In macOS, the JDK installation path is/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home.
/jdk-9

The root directory of the JDK software installation. This directory also contains copyright, README, and src.zip files, which is the source code archive file of the Java platform.

"/jdk-9.jdk/Contents/Home/"

The root directory of the JDK software installation on macOS.

/jdk-9/bin

The executables and command-line launchers that are defined by the modules linked to the image.

/jdk-9/conf

The .properties, .policy, and other configuration files intended to be edited by developers, deployers, and end users.

/jdk-9/lib

The private implementation details of the runtime system. These files are not intended for external use and must not be modified.

The lib directory on macOS or the lib/$ARCH directory on Linux and Solaris contains the runtime system's dynamically linked native libraries.

/jdk-9/jmods

The compiled module definitions.

/jdk-9/legal

The copyright and license files for each module.

/jdk-9/src.zip

The archive that contains the source code for the Java platform.

/jdk-9/include

The C-language header files that support native-code programming with the Java Native Interface and the Java Virtual Machine (JVM) Debugger Interface.

The runtime image of jre-9 contains the following folders:

Note:

In macOS, the JRE installation path is/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/.
/jre-9

The root directory of the JRE software installation. This directory contains README, and other JRE folders.

"/JavaAppletPlugin.plugin/Contents/Home/"

The root directory of the JRE software installation on macOS.

/jre-9/bin

The executables and command-line launchers that are defined by the modules linked to the image.

/jre-9/conf

The .properties, .policy, and other configuration files intended to be edited by developers, deployers, and end users.

/jre-9/lib

The private implementation details of the runtime system. These files are not intended for external use and must not be modified.

The lib directory on macOS or the lib/$ARCH directory on Linux and Solaris contains the runtime system's dynamically linked native libraries.

/jdk-9/legal

The copyright and license files for each module.