Getting classpath from the class is loaded in java