Where is jar for java.io.File?

Nick picture Nick · Oct 12, 2013 · Viewed 8.3k times · Source

When I need to get method signatures for android.content.ContextWrapper, I go to

"C:\Program Files (x86)\Android\android-sdk\platforms\android-18" where android.jar is placed and then execute

javap -s -classpath android.jar android.content.ContextWrapper > out.txt

Now, I need to get method signatures for java.io.File. How is corresponding .jar named?

Answer

RainMaker picture RainMaker · Oct 12, 2013

Its present in the rt.jar. You can use the JarFinder to find jars and classes.

Its present in the lib folder of jdk installation directory.