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?
Aniket Sahrawat
On
Allow me to quote the migration guide:
Class and resource files previously stored in
lib/rt.jar,lib/tools.jar,lib/dt.jarand various other internal JAR files are stored in a more efficient format in implementation-specific files in thelibdirectory.
Copyright © 2021 Jogjafile Inc.
The
rt.jarfile 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://stackoverflow.com/a/53897006/3553087.