Compiling sample ANTRL4 output

后端 未结 2 1542
别跟我提以往
别跟我提以往 2020-12-11 19:55

From the Definitive ANTLR4 reference I have run through the first example and it has generated the JAVA target. In the directory C:\\JavaLib I have antlr-4.5-complete.jar Wh

2条回答
  •  萌比男神i
    2020-12-11 20:18

    With regard to the above query re the colon separator then the answer is yes. I installed via the debian packages and used the command before working out how to set CLASSPATH

    javac -classpath /usr/share/java/antlr4-runtime.jar  Expr*.java
    

    Before this I got a load of compile errors. Also it seems to be worth noting on debian at the moment my .bash_profile never gets loaded so I needed to put this in .bashrc

提交回复
热议问题