win7
cygwin 1.7.25
I've done something dumb but I can't figure out what it is, sigh. I installed ANTLR into my /usr/local/lib (C:\cygwin\usr\local\lib), fixed the CLASSPATH variable so that ANTLR is first and put /usr/local/lib into my (cygwin) PATH variable. Java is installed into C:\Program Files\Java.
Using a bash shell (in cygwin)
java works
java -jar /usr/local/lib/antlr.. does not work (Unable to access jarfile /usr/local/lib/antlr-4.1-complete.jar)
cd /usr/local/lib
java -jar antlr .. works just fine
Under a DOS shell
java works
java -jar c:\cywin\usr\local\lib\antlr ... does not work
What have I done wrong? What am I missing?