jdeps: add page (#8758)

This commit is contained in:
Austin
2022-10-10 17:45:18 +02:00
committed by GitHub
parent 3f754555ba
commit b7c1a70691

24
pages/common/jdeps.md Normal file
View File

@@ -0,0 +1,24 @@
# jdeps
> Java class dependency analyzer.
> More information: <https://docs.oracle.com/en/java/javase/18/docs/specs/man/jdeps.html>.
- Analyze the dependencies of a `.jar` or `.class` file:
`jdeps {{path/to/filename.class}}`
- Print a summary of all dependencies of a specific `.jar` file:
`jdeps {{path/to/filename.jar}} -summary`
- Print all class-level dependencies of a `.jar` file:
`jdeps {{path/to/filename.jar}} -verbose`
- Output the results of the analysis in a DOT file into a specific directory:
`jdeps {{path/to/filename.jar}} -dotoutput {{path/to/directory}}`
- Display help:
`jdeps --help`