How to open Javadoc JAR file in web browser
- Rename the file grants-api-3.1.14-jdk17-javadoc.jar to grants-api-3.1.14-jdk17-javadoc.zip
- Use your favourite unzip tool (WinRAR / WinZIP) to extract it, now you have a folder grants-api-3.1.14-jdk17-javadoc
- Double click index.html will open the index page on your default web browser.
How to generate Javadoc from a source JAR?
Running the command javadoc:
javadoc --ignore-source-errors -encoding UTF-8 -sourcepath "grants-api-3.1.14-jdk17-sources.jar" -d "grants-api-3.1.14-jdk17-javadoc" -subpackages