I have downloaded javacc-5.0 and tried to follow various different guides to no avail.
I unzipped the package, modified the PATH variable to contain ../javacc-5.0/bin/lib/javacc.jar
directory and ensured that all the correct files are executable. However, a which javacc
command gives no output and trying to run the javacc exec has also given the error Could not find or load main class javacc
(the jar file is definitely there in the lib directory).