On Sep 15, 11:40 am, Martin Blom <[email protected]> wrote: > On 09/08/2009 08:04 PM, Daryl Stultz wrote: > > > On Tue, Sep 8, 2009 at 1:20 PM, mckyj57<[email protected]> wrote: > > >> I don't want to learn about Java. I want to use a Java application. > > > I don't think of Rhino as an "application" but rather a "library" for > > embedding JavaScript in a Java application. If you don't have a Java > > application you want to expose to JavaScript, this probably isn't the > > project for you. Maybe you should look for a different JavaScript > > interpreter. > > Well, there is no need to switch switch interpreter, but Rhino does need > some glue to make it nice to use as a command line interpreter. > > (Anyway, Mickey, you could try one of the ESXX packages > fromhttp://esxx.org/if you'd like. Besides being an app server, ESXX also > executes command line scripts and I use it all the time for q&d Java > scripting, simple XML processing and web scraping. Examples here > <http://esxx.org/examples.html>.)
I sent this out when this thread was first started but it seems to have gotten lost. Here it is again: -- If you just want to use Rhino as a command line interpreter (not embedding, though it would work embedded too) you might like Narwhal: http://narwhaljs.org/quick-start.html It's a standard library, package manager, and virtual environment system (like Python's virtualenv), which aims to support multiple JavaScript interpreters but Rhino is the default (and most complete). We've tried to make it as easy as possible to get started. No messing with Java classpaths, etc. If you try it out let me know what you think. -tom _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
