Java9: JavaDocs Tool
JavaDocs tool let’s you create java documentations with no time. Java9 has improved this feature with supporting to html 5.
Let’s create a doc for your existing project.
Our example will have above folder architecture. And we will create a new folder at root level to store the docs.
javadoc
-d doc
-html5
— source-path src/main/java/
-subpackages com.nuwan.java8
This command will create the relevent documentation in the doc folder and you can access via index.html page. You are running this code from javahello folder.
Get Nuwan Zen’s stories in your inbox
Join Medium for free to get updates from this writer.
You can see doc folder is been filled with new files. Find the index.html and open it. And you will see a web page as following. Click through those links will give you better understanding of the methods and classes created within the package.
These are the parameters we have passed in,
Read my other blogs:







