This may seem impudent, but how are you invoking jython?
If you're in the directory containing the script, then ./jython (or ./jython.sh) should do the trick.
On 9/10/05, Bill Woodward <firstname.lastname@example.org> wrote:
> On 9/10/05, Rich Talley <email@example.com> wrote:
> > I would like to run Jython on my Mac G4 with OS X 10.4.2
> > The Java 1.4.2 on this machine sees the jython-21.class file just
> > fine; the installer runs and puts everything into /stuff/jython where
> > I want it.
> > I go to that directory - everything looks great - there's a shell
> > script named jython the contents of which look OK - bash just plain
> > refuses to invoke jython - says "command not found"
> I'm not sure if this is the problem, but I've seen that error from
> shell scripts when the #! first line points to an incorrect command
> interpreter. So, for a shell script, if the first line is
> #!/usr/sbin/bash, but bash is really /bin/bash, you'll get that error.
> It's misleading, since the shell script *is* there, it's the
> interpreter that's missing.
> - Bill
Thanks but that's not it. First line of the script is #!/bin/sh and
that points correctly to sh.
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Jython-users mailing list