In narwhal-rhino the line:
if [ "$(which cygpath 2>/dev/null)" ]; then
Evaluates true despite not having cygpath. This messes up the classpath and results in:
Exception in thread "main" java.lang.NoClassDefFoundError: org/mozilla/javascript/tools/shell/Main
I'm running mac os-x 10.4.
In narwhal-rhino the line: if [ "$(which cygpath 2>/dev/null)" ]; then
Evaluates true despite not having cygpath. This messes up the classpath and results in: Exception in thread "main" java.lang.NoClassDefFoundError: org/mozilla/javascript/tools/shell/Main