jdeps: add page (#8758)

pull/1/head
Austin 2022-10-10 17:45:18 +02:00 committed by GitHub
parent 3f754555ba
commit b7c1a70691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

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`