Kamal
Kamal

Reputation: 486

Where is JRE folder in 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?

Upvotes: 9

Views: 5069

Answers (1)

Alan Bateman
Alan Bateman

Reputation: 5459

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.

Upvotes: 16

Related Questions