6 Installed Directory Structure of JDK

The modular runtime image of JDK 20 contains the following folders:


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

The root directory of the JDK software installation. This directory also contains Copyright, README, and Release files.


The root directory of the JDK software installation on macOS.


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


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


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 contains the runtime system's dynamically linked native libraries.


The compiled module definitions.


The copyright and license files for each module.


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


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


Installing a JDK update release will replace the existing version of the same feature release. For example, when you install JDK 20.0.1 after installing JDK 20, the installer uninstalls JDK 20 and installs JDK 20.0.1. However, you can install JDK 20 and JDK 11 simultaneously. In the JDK installation location, jdk-20 and jdk-11 directories get created.