| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 |
<!-- |
| 4 |
|
| 5 |
Copyright (c) 2006, Sun Microsystems, Inc. |
| 6 |
All rights reserved. |
| 7 |
|
| 8 |
Redistribution and use in source and binary forms, with or without |
| 9 |
modification, are permitted provided that the following conditions are met: |
| 10 |
|
| 11 |
* Redistributions of source code must retain the above copyright notice, |
| 12 |
this list of conditions and the following disclaimer. |
| 13 |
* Redistributions in binary form must reproduce the above copyright |
| 14 |
notice, this list of conditions and the following disclaimer in the |
| 15 |
documentation and/or other materials provided with the distribution. |
| 16 |
* Neither the name of the Sun Microsystems, Inc. nor the names of its |
| 17 |
contributors may be used to endorse or promote products derived from |
| 18 |
this software without specific prior written permission. |
| 19 |
|
| 20 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 21 |
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 22 |
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 23 |
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
| 24 |
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 25 |
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 26 |
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 27 |
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 28 |
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 29 |
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
| 30 |
THE POSSIBILITY OF SUCH DAMAGE. |
| 31 |
|
| 32 |
--> |
| 33 |
<head> |
| 34 |
<title>JavaCC Installation</title> |
| 35 |
<!-- Changed by: Michael Van De Vanter, 15-Jan-2003 --> |
| 36 |
</head> |
| 37 |
<body bgcolor="#FFFFFF" > |
| 38 |
|
| 39 |
<h1>JavaCC [tm]: Installation Notes</h1> |
| 40 |
|
| 41 |
|
| 42 |
<p> |
| 43 |
The download should have placed into your file system either a ZIP |
| 44 |
or GZIP file containing the JavaCC software. |
| 45 |
</p> |
| 46 |
|
| 47 |
<p> |
| 48 |
Depending on which you downloaded, you should go to the directory |
| 49 |
where the file was installed and type something like: |
| 50 |
</p> |
| 51 |
|
| 52 |
<blockquote> |
| 53 |
<code>unzip javacc-5.0.zip</code> |
| 54 |
<br /> |
| 55 |
<br /> |
| 56 |
<b>or</b> |
| 57 |
<br /> |
| 58 |
<br /> |
| 59 |
<code>gunzip javacc-5.0.tar.gz</code> |
| 60 |
<br /> |
| 61 |
<code>tar xvf javacc-5.0.tar</code> |
| 62 |
<br /> |
| 63 |
<br /> |
| 64 |
</blockquote> |
| 65 |
<p> |
| 66 |
That completes your installation. |
| 67 |
</p> |
| 68 |
<p> |
| 69 |
Once you have completed installation, add the <code>bin</code> directory |
| 70 |
within the JavaCC installation to your path. |
| 71 |
The <code>javacc</code>, |
| 72 |
<code>jjtree</code>, and <code>jjdoc</code> invocation scripts/executables |
| 73 |
reside in this directory. |
| 74 |
</p> |
| 75 |
<p> |
| 76 |
You can get started quickly by looking at the examples and the associated |
| 77 |
README files in the <code>examples</code> directory under the installation |
| 78 |
directory. For additional information consult the |
| 79 |
<a href="docindex.html">documentation index</a> and the following release notes: |
| 80 |
</p> |
| 81 |
<ul> |
| 82 |
<li><a href="javaccreleasenotes.html">JavaCC release notes</a></li> |
| 83 |
<li><a href="jjtreereleasenotes.html">JJTree release notes</a></li> |
| 84 |
<li><a href="jjdocreleasenotes.html">JJDoc release notes</a></li> |
| 85 |
</ul> |
| 86 |
<p> |
| 87 |
Additional help is available on the JavaCC |
| 88 |
<a href="mailinglist.html">mailing list</a>. |
| 89 |
</p> |
| 90 |
</body> |
| 91 |
</html> |