

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is the structure of JDK and JRE directory in Java 9?
The directory structure of JDK and JRE are almost the same, except that JDK has two additional directories like jmods and include and also there is no JRE subdirectory in the JDK9 version.
The JDK directory is the root directory for JDK software installation. This directory also includes copyright, readme, and src.zip files, which can be a source code archive file of the Java platform.
JDK Directory Structure:
JDK-9 - bin - conf - include - jmods - legal - lib
- The JDK/bin directory contains an executable and command-line launcher that can be defined by the modules linked to an image.
- The JDK/conf directory contains the .properties, .policy, and other configuration files intended to be edited by developers, deployers, and also end-users.
- The JDK/lib directory contains private implementation details of the runtime system. These files are not intended for external use, and must not be modified.
- The JDK/jmods directory contains the compiled module definitions.
- The JDK/legal directory contains copyright and license files for each module.
- The JDK/include directory contains C-language header files that support native-code programming with the Java Native Interface (JNI) and the Java Virtual Machine (JVM) debugger Interface.
The JRE is the root directory for JRE software installation. This directory contains readme and other JRE folders.
JRE Directory Structure:
JRE-9 - bin - conf - legal - lib
- The JRE/bin directory contains the executable and command-line launchers that are defined by the modules linked to an image.
- The JRE/conf directory contains the .properties, .policy, and other configuration files intended to be edited by developers, deployers, and also end-users.
- The JRE/lib directory contains private implementation details of the runtime system. These files are not intended for external use and must not be modified.
- The JRE/legal directory contains copyright and license files for each module.
- Related Questions & Answers
- What is the difference between JRE and JDK?
- What is the difference between JDK, JRE, and JVM?
- Difference between JDK, JRE and JVM in Java
- Differences between JDK, JRE and JVM.
- What is the Java Runtime Environment (JRE)?
- What is Java Development Kit (JDK)?
- What is the importance of REPL in Java 9?
- What is the use of underscore keyword in Java 9?
- What is the purpose of using JLink in Java 9?
- What is the importance of jmod format in Java 9?
- What is the importance of jdeps tool in Java 9?
- What is the use of the Cleaner class in Java 9?
- What is the use of the Optional.stream() method in Java 9?
- What is the use of the toEpochSecond() method in Java 9?
- What is the importance of the ProcessHandle interface in Java 9?
Advertisements