Top "Classloader" questions

A class loader is an object that is responsible for loading classes in Java.

What is the difference between Class.getResource() and ClassLoader.getResource()?

I wonder what the difference is between Class.getResource() and ClassLoader.getResource()? edit: I especially want to know if any …

java classloader getresource
Unloading classes in java?

I have a custom class loader so that a desktop application can dynamically start loading classes from an AppServer I …

java classloader
How to get names of classes inside a jar file?

I have a JAR file and I need to get the name of all classes inside this JAR file. How …

java file class jar classloader
Dealing with "Xerces hell" in Java/Maven?

In my office, the mere mention of the word Xerces is enough to incite murderous rage from developers. A cursory …

java maven classloader dependency-management xerces
Load properties file in JAR?

I'm having trouble when one of the jars that my web app depends on tries to load a properties file …

java maven-2 resources properties classloader
Difference between thread's context class loader and normal classloader

What is the difference between a thread's context class loader and a normal class loader? That is, if Thread.currentThread().…

java multithreading jvm classloader
What does JVM flag CMSClassUnloadingEnabled actually do?

I cannot for the life of me find a definition of what the Java VM flag CMSClassUnloadingEnabled actually does, other …

java jvm classloader jvm-arguments
How to deal with LinkageErrors in Java?

Developing a heavily XML-based Java-application, I recently encountered an interesting problem on Ubuntu Linux. My application, using the Java Plugin …

java linux classloader linkageerror
Determine which JAR file a class is from

I am not in front of an IDE right now, just looking at the API specs. CodeSource src = MyClass.class.…

java jar class classloader
Java verbose class loading

I am trying to list the order in which the Java class loader is loading my classes. if I use …

java jvm classloader