is it possible to show where the location of the class file in runtime?
eg.
If I have two copies of the same class within the CLASSPATH? is there any method that I can call to show which copy of that class is running?
export CLASSPATH=/dir1:/dir2:.
---------------------------------------------------
File Location:
/dir1/myfile.class <-- may be deleted sometimes....
/dir2/myfile.class
---------------------------------------------------
when run the myfile class, can I display if I am using the copy in /dir1 or /dir2?