Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is JRE folder in Java 9?

Tags:

java

java-9

Where is JRE folder in Java 9? I have seen in some site that JRE is present in a separate distribution folder. But where it is located?

like image 730
Kamal Avatar asked Sep 24 '17 08:09

Kamal


People also ask

Where is the JRE folder?

The JRE Installer is located on the Java SE Runtime Environment 9 Downloads page. In a browser, go to the Java SE Runtime Environment 9 Downloads page. The following JRE installers are available for you to download: Windows Offline: jre-9.

What is home directory of the JRE?

JRE Directory Structure: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.

Where is the JRE for Java 11?

I noticed that Java 11 doesn't have a JRE folder. Oracle no longer intends for end-users to be installing a JRE or a JDK. Java Applets in a browser and Java Web Start app delivery are both being phased out, leaving the end-user with no need for a JRE.


1 Answers

The JDK and JRE run-time images have been restructured in JDK 9. The JDK run-time image no longer includes a "jre" sub-directory.

A summary of the restructuring is documented in the JDK 9 release notes (Modular Run-Time Images note).

JEP 220 documents the motivations and all the details of the new layout.

The changes have been in JDK 9 early access builds since late 2014 to give tools and libraries that depend on the legacy structure time to adjust - hopefully the tools that that you use have already been updated.

like image 185
Alan Bateman Avatar answered Sep 22 '22 17:09

Alan Bateman