GNU Java Training Wheels 1.1: How to invoke javadoc on a package

Previous: How to build a collection of class files or an entire package, Up: Packages in J.T.W. and Java [Contents][Index]

### 5.6 How to invoke javadoc on a package

To invoke `javadoc`, you first need to issue the following command from the folder `~/jtw-tutorials`:

`make build`

See the How to build a collection of class files or an entire package for more information about setting up the `build` target. Then you need to issue the following command from the folder `~/jtw-tutorials`:

`javadoc path3/to/pkg -d /path4/to/dir`

where `path3.to.pkg` is the name of the package that you want to build and `/path4/to/dir` is the desired location for your documentation files in `*.html` format.