How to build javadoc from sources within a .jar file?
问题 I have to build Javadoc from myCode.jar that contains both sources and class files. Can I do it without extracting the jar? According to http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html#classpath I should be able to do so this way: C:\>javadoc -d docs -classpath myCode.jar net\kem\jmx\CacheManagerMBean.java However, I get the following error: javadoc: error - File not found: "net\kem\jmx\CacheManagerMBean.java" [search path for source files: [myCode.jar]] [search path for