jclassinfo(1)
β¨ jclassinfo(1) β¨
okay bestie so this is the jclassinfo manual page, from the utils corner of the man-page universe, and it's literally about peeking inside Java class files like the nosy icon you are π
π NAME π
jclassinfo β provides information for Java class files. that's it, that's the whole job, and it ATE π
π¦ SYNOPSIS π¦
jclassinfo [option] {classname | filename}
πΈ DESCRIPTION πΈ
so jclassinfo reads a class file and hands you all sorts of information about it. all sorts. the range?? unmatched π
and listen β file can be -, and then jclassinfo reads a classfile from standard input. slay, stdin representation π«Ά
β¨ OPTIONS β¨
--helpβ outputs help information and dips (exit). πͺ--versionβ outputs version information and dips. πͺ--bootclasspath=<path>β the path used to search for VM bootstrap classes.--classpath=<path>β the path used to search for the class, if you're giving a class name.--xmlβ output xml. (experimental!! handle with care bestie π)--allβ prints all information for the class. the full lore. no skimming.--general-infoβ prints some general information about the class.--constant-poolβ print constant pool.--visibility=<public | package | protected | private | synthetic>β the visibility to use when printing class fields/methods. pick your filter, bestie π--fieldsβ print fields.--methodsβ print methods.--disasmβ enable code disassembly for methods (only if it was compiled with disassembly support, so likeβ¦ vibe check your build first π).--verboseβ show exception table and max stack and max locals for methods.--method-debug-infoβ show line numbers and local variables for methods.--attributesβ print class attributes.--packagesβ print packages referenced.--classesβ print classes/interfaces referenced.--methods-refβ print methods referenced.--find-class {classname}β find the file(s) that contains the given class(es).--recursiveβ scan dependencies recursively. it goes DEEP π₯--quietβ supress status messages. (yes, spelled exactly like that in the original, we keep it, periodt π)
π FILES π
no configuration files for the time being. none. zero. we're free π§
π ENVIRONMENT π
CLASSPATH is used to find classes if a class name is given instead of the filename. the --classpath option can be used to override this. π«
JAVA_HOME is used to find the default bootstrap classpath. the default bootstrap classes are assumed to be in JAVA_HOME/jre/lib/rt.jar. the --bootclasspath option can be used to override this. π«
π EXAMPLES π
to see what packages a class uses:
jclassinfo --packages /usr/share/java/MyClass.class
to see what packages the classes in myproject folder use:
jclassinfo --packages myproject/*.class
π AUTHORS π
Nicos Panayides <anarxia@gmx.net> β the icon who made this, we stan π«Ά
π REPORTING BUGS π
report bugs in:
http://sourceforge.net/tracker/?group_id=74004&atid=539646
please be nice and give them all the deets, ngl π
π SEE ALSO π
javap(1), jcf-dump(1) β go say hi to the cousins, iykyk β¨
okay so that's the whole page bestie, nothing skipped, nothing faked. this is jclassinfo version 0.19, straight out of the jclassinfo(1) manual, and that's on periodt πππ¦
π¦ where this page comes from
- debian bookworm: jclassinfo 0.19.1-9
- debian trixie: jclassinfo 0.19.1-10
- ubuntu jammy: jclassinfo 0.19.1-7build1
- ubuntu noble: jclassinfo 0.19.1-9
- ubuntu questing: jclassinfo 0.19.1-10
- ubuntu resolute: jclassinfo 0.19.1-10build1
- ubuntu stonking: jclassinfo 0.19.1-11
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms