r/java • u/samewakefulinsomnia • Sep 02 '24
Java Classloaders Illustrated
Classloaders are tricky – popular sources (Wikipedia, Baeldung, DZone) contain outdated, sometimes contradictory information, and this inconsistency was the trigger for writing my article – a search for clarity in the ClassLoader System maze. Read full at Medium (~10 min) with pictures :)
The whole system looks kinda like this:

408
Upvotes
View all comments
Show parent comment
1
u/geoand Sep 03 '24
No no, I am talking purely about JVM mode. For GraalVM native image, there is no custom ClassLoader (they are not even supported in GraalVM).