For linux:
javac -cp .*:java-cup-0.11a.jar PascalLexer.java
For windows:
javac -cp .*;java-cup-0.11a.jar PascalLexer.java
Linux classpath is separated by a :
, where windows separates by ;
. Make sure you include any libs you need in the command, all separated by the appropriate delimiter. You will have to tell it where to find the libs, so if java-cup-0.11a.jar is not in the current working directory, you will need to specify the path to that file in your -cp
argument.