The only jar file I could find inside JAVA-HOME/lib was a file called jrt-fs.jar which is only 105 KB in size.
So where are Runtime (bootstrap) classes then?
The only jar file I could find inside JAVA-HOME/lib was a file called jrt-fs.jar which is only 105 KB in size.
So where are Runtime (bootstrap) classes then?
The rt.jar
file was removed in Java 9, but if you need to access the classfiles in the runtime, you can do so easily through the JRT file system. See, for example, https://mcmap.net/q/555076/-where-are-the-java-system-packages-stored.
jrt-fs.jar
. –
Lailalain Allow me to quote the migration guide:
Class and resource files previously stored in
lib/rt.jar
,lib/tools.jar
,lib/dt.jar
and various other internal JAR files are stored in a more efficient format in implementation-specific files in thelib
directory.
© 2022 - 2024 — McMap. All rights reserved.
lib/modules
. This is a binary file which can be read with JRT file system. – Higginson