Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Get a List of All Class Loaders in a JVM

Posted on 2004-09-23
1
231 Views
Last Modified: 2010-05-18
Hi ,

My requirement is as follows
1) I want to get a list of all ClassLoaders that are presnt in a JVM.
2) I want to have a list of all the classes that belong to a particular Class Loader.

How should i go about doing it ??

Thanks,
Mrigank.
0
Comment
Question by:mrigank
1 Comment
 
LVL 35

Accepted Solution

by:
girionis earned 125 total points
ID: 12131685
I do not think you can do it but this might give you some tips: http://www.javaworld.com/javaworld/javaqa/2003-07/02-qa-0725-classsrc2.html
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
why cannot we forward request once the response is committed 2 46
SHA2 certs for IIS AND Java? 2 113
Facing this issue for maven proxy setting 2 19
hashmap order 17 36
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question