I am new to JavaCC and cannot figure out how to run it. I am using Mac OS X and I installed javacc-6.0.zip and unzipped it. I can not make javacc script accessible from my path, because when I type javacc on the terminal, I get the following message:
-bash: javacc: command not found
How to make javacc script available from my path?
My unpacked javacc-6.0 folder is located in the following directory: /Users/Rishabh/Desktop/javacc
So, I am doing the following on the terminal:
PATH=$PATH\:/Users/Rishabh/Desktop/javacc/javacc-6.0/
Entering javacc next gives me the same message.
source share