tweak 1.6->1.7 java

This commit is contained in:
parrt 2020-11-24 10:28:39 -08:00
parent d0390e7620
commit 06a44e79d3
1 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@ If you are going to integrate ANTLR into your existing build system using mvn, a
### UNIX ### UNIX
0. Install Java (version 1.6 or higher) 0. Install Java (version 1.7 or higher)
1. Download 1. Download
``` ```
$ cd /usr/local/lib $ cd /usr/local/lib
@ -38,7 +38,7 @@ $ alias grun='java -Xmx500M -cp "/usr/local/lib/antlr-4.9-complete.jar.jar:$CLAS
(*Thanks to Graham Wideman*) (*Thanks to Graham Wideman*)
0. Install Java (version 1.6 or higher) 0. Install Java (version 1.7 or higher)
1. Download antlr-4.9-complete.jar (or whatever version) from [https://www.antlr.org/download/](https://www.antlr.org/download/) 1. Download antlr-4.9-complete.jar (or whatever version) from [https://www.antlr.org/download/](https://www.antlr.org/download/)
Save to your directory for 3rd party Java libraries, say `C:\Javalib` Save to your directory for 3rd party Java libraries, say `C:\Javalib`
2. Add `antlr-4.9-complete.jar.jar` to CLASSPATH, either: 2. Add `antlr-4.9-complete.jar.jar` to CLASSPATH, either:
@ -138,3 +138,4 @@ The book has lots and lots of examples that should be useful too. You can downlo
Also, there is a large collection of grammars for v4 at github: Also, there is a large collection of grammars for v4 at github:
[https://github.com/antlr/grammars-v4](https://github.com/antlr/grammars-v4) [https://github.com/antlr/grammars-v4](https://github.com/antlr/grammars-v4)
/