On May 24, 12:04 pm, w-ll <[email protected]> wrote:
> I see binaries, but im a little unsure.
>
> i wanna be able to run a command: rhino code.js
> what is the easiest way of accomplishing this, thanks.

In bash, the simplest thing to do is

$ alias rhino='java -jar /path/to/js.jar'

If you're going to use it interactively, you might want to put the
jline jar in your classpath too.
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to