FeaturesPluginsDocs & SupportCommunityPartners

Working with the Open Sourced Javadoc

The sources in this project involve the javadoc tool, which parses the declaration and documentation comments in a set of Java source files and produces a set of HTML pages describing the classes, interfaces, constructors, methods, and fields. In this tutorial, we examine the open sourced Javadoc project in the IDE and learn what we can do with it.

When encountering problems of any kind, please consult the Troubleshooting Guide.

Setting up

Download and install the OpenJDK sources, and then open the Javadoc project, as explained in Getting Started with OpenJDK in NetBeans IDE.

Once you have opened the project, the Projects window should look as follows:

Javadoc in projects window

Building the Javadoc Sources

To build the Javadoc sources, right-click the Javadoc project in the Projects window and choose Build Project. The IDE runs the Ant script for the project and shows output in the Output window.

To view the build results, go to the Favorites window (Ctrl-3) and browse to the "j2se" folder. Once you have added the folder, you can see the newly created "build" and "dist" folders, the latter containing your build output, as shown in the following image:

javadoc project build outputs


Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Virtual Box - full virtualizer  Open ESB - The Open Enterprise Service Bus Powered by