One of the open sourced JDK NetBeans projects
provides the Javac Compiler. This project works with the source
code for the Java programming language compiler, javac, which
compiles Java source code into bytecode class files.
In this tutorial, we build the Javac Compiler, and explore
the other actions you can perform with these sources
by means of its NetBeans project.
Building the Javac Compiler
To build the Javac Compiler sources, right-click the Javac Compiler 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:
