7 Installed Directory Structure of JDK
The modular runtime image of JDK 26 contains the following folders:
Note:
In macOS, the JDK installation path is/Library/Java/JavaVirtualMachines/jdk-interim.update.patch.jdk/Contents/Home.
-
/jdk-interim.update.patch.jdk -
The root directory of the JDK software installation. This directory also contains Copyright, README, and Release files.
-
/jdk-interim.update.patch.jdk/Contents/Home/ -
The root directory of the JDK software installation on macOS.
-
/jdk-interim.update.patch.jdk/bin -
The executable and command line launchers that are defined by the modules linked to the image.
-
/jdk-interim.update.patch.jdk/conf -
The
.properties,.policy, and other configuration files intended to be edited by developers, deployers, and end users. -
/jdk-interim.update.patch.jdk/lib -
The private implementation details of the runtime system. These files are for internal use only and don't change these files.
The
libdirectory on macOS or thelib/$ARCHdirectory on Linux contains the runtime system's dynamically linked native libraries. -
/jdk-interim.update.patch.jdk/jmods -
The compiled module definitions.
-
/jdk-interim.update.patch.jdk/legal -
The copyright and license files for each module.
-
/jdk-interim.update.patch.jdk/lib/src.zip -
The archive that contains the source code for the Java platform.
-
/jdk-interim.update.patch.jdk/include -
The C-language header files that support native-code programming with the Java Native Interface and the Java Virtual Machine (JVM) Debugger Interface.
Note:
Installing a JDK update release replaces the existing version of the same feature release. For example, when you install JDK 26.0.1 after installing JDK 26, the installer uninstalls JDK 26 and installs JDK 26.0.1. However, you can install JDK 26 and JDK 11 simultaneously. In the JDK installation location,jdk-26 and jdk-11 directories get created.