Search This Blog

Tuesday, December 20, 2016

Find loaded class in JVM via the class loader

If you are not sure what all classes are loaded in currently running jvm.
Nice trick to find out what all classes are loaded in the JVM.

Try running this.

java -verbose:class CPTest |findstr URL

It will grep your class and will tell if that is loaded or not.



No comments:

Post a Comment