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, Rich Talley <rich.talley@gmail.com> wrote:
On 9/10/05, Bill Woodward <wpwood@gmail.com> wrote:
> On 9/10/05, Rich Talley <rich.talley@gmail.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.

Rich


-------------------------------------------------------
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
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users



--
2X7 -> %A-3+ -> %K-7+ -> %9-?+ -> %Q-8 -> ?9-?9+