Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
rt.jar
contains all of the compiled class files for the base Java Runtime environment. You should not be
messing
with this jar file.
For MacOS it is called
classes.jar
and located under
/System/Library/Frameworks/<java_version>/Classes
. Same
not messing
with it rule applies there as well :).
http://javahowto.blogspot.com/2006/05/what-does-rtjar-stand-for-in.html
–
–
–
Basically, rt.jar contains all of the
compiled class files for the base Java
Runtime ("rt") Environment. Normally,
javac should know the path to this
Also, a good link on
what happens
if we try to include our class file in rt.jar.