If you're already in the bin subdirectory, it could just be that . isn't in your path. Try the following:
OK, I'm beginning to understand what this is trying to do. I'm now getting 'bin/run_with_jetty.sh: permission denied: /bin '.
How do I find out what permissions it's looking at?
typically you can use >ls -lsa to see you file permissions. The problem you are having is most likely your user though.
I've checked the permissions and they seem OK but I have found what I think is an error in the run_with_jetty.sh file. The last line I believe is trying to run the file run.sh with the command '/bin/sh ./run.sh jetty' but is causing a permissions denied: /bin message. When I run run.sh using ./bin/run.sh I get 'Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/Main'.
Has anybody out there got JBoss_Jetty to run under OS X? Should I be using a particular shell? The environment variable CLASSPATH doesn't exist, should it?