Java 9’s new docs structure – where are the “old” Java packages?

I'm used to accessing Java se documents from the following links, where I can search for Java awt,java. Util and other software packages:

https://docs.oracle.com/javase/7/docs/api/

https://docs.oracle.com/javase/8/docs/api/

However, when accessing similar link for version 9, I can see that some module structures are very different from Java se documents until version 8 What happened to the "old" java package?

Solution

In Java 9, they decided to divide the JDK system into small modules This also applies to the source code, which is divided into several jars smaller than rt.jar You can see:

https://www.oracle.com/corporate/features/understanding-java-9-modules.html

Now in the new Java 9 JavaDocs overview, you can only view a list of modules However, if you need a list of packages, just click the "all packages" link in the upper right corner to get it:

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>