1. ClassList could be read from classList present inside jdk/lib directory instead of getting the classList from rt.jar. 2. There is no need to replace '/' with '.' as javap can also read java/util/HashMap as well as java.util.HashMap.