I am searching the source code for rt.jar for Oracle JRE/JDK 6 Update 22.

The src.zip, which is included with the delivery, does not contain all sources, for examples the sun.* (e.g. sun.reflect.Reflection) packages are missing.

Where can I get a complete src.zip?

解决方案

EDIT 2017-11-22:

This answer was written in 2010 where the world was very different. If you just need the sources for the JRE classes, use the JRE in a JDK build - the included src.zip file is recognized by most modern IDE's.

If you really, really need the full source (if you are unsure, you don't) then find a suitable OpenJDK debug build or build OpenJDK from source.

OLD 2010 ANSWER:

You can download the complete source code for the JDK from http://download.java.net/jdk6/source/

VERY IMPORTANT NOTE: This is under the Java Research License, which may taint you in a way incompatible with what you need to know this for.

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐