JavaCC [tm]: Getting Started

JavaCC [tm] is packaged for download as a self extracting .class file. The file you download may be called JavaCC3_0.class. To install JavaCC, simply go (cd) to the directory containing this file and type:

java JavaCC3_0

Make sure that your CLASSPATH environment variable is not set or is set to be the directory containing this file. This launches the installer GUI that takes you through a set of screens and then installs JavaCC. You can also do a command line installation by typing:

java JavaCC3_0 -c

Once you have completed installation, add the bin directory within the JavaCC installation to your path. The javacc, jjtree, and jjdoc invocation scripts/executables reside in this directory.

You can get started quickly by looking at the examples and the associated README files in the examples directory under the installation directory. Click here to read the JavaCC documentation.

We have been maintaining release notes that you can browse by clicking the following links:

Click here for an introductory document to JJTree. We will reorganize the links later for better documentation.