JDepChk can be run from the command line as follows:
java -jar build/jdepchk.jar [OPTION]...
Use the --help option to list the available options.
In addition to the rules shown in the options help, you can also look at JDepChk's own rules and the two tutorial tests:
There is a full-blown demo project included with the source.