How to open Javadoc JAR file in web browser
- Rename the file scalatra-cache_2.12-3.0.0-M5-jakarta-javadoc.jar to scalatra-cache_2.12-3.0.0-M5-jakarta-javadoc.zip
- Use your favourite unzip tool (WinRAR / WinZIP) to extract it, now you have a folder scalatra-cache_2.12-3.0.0-M5-jakarta-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 "scalatra-cache_2.12-3.0.0-M5-jakarta-sources.jar" -d "scalatra-cache_2.12-3.0.0-M5-jakarta-javadoc" -subpackages