简体   繁体   中英

How to get list of all classes coming with particular JDK from cli?

I found file $JAVA_HOME/jre/lib/classlist that consist of list of classes.

Why there is this file? It it is consist of list of classes that coming with this version of JDK, or only JRE?

Is there any file that contains list of all classes coming with JDK?

Linux solution prefered

在JDK中找到所有类的最好方法是检查所有jar

find $JAVA_HOME -name *.jar -print | xargs -n1 jar -tf

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM