On Mar 3, 6:44 am, Norris Boyd <[email protected]> wrote:
> On Mar 3, 6:24 am, Joseph Montanez <[email protected]> wrote:
>
> > Hopefully I dont get bashed for this but I've fallen for rhino in the
> > sense I dont need to think java, yet I get access to all the
> > libraries. I know more people use it for embedding but even as is, its
> > an awesome library. I migrated from jython just because there are too
> > many quirks. Anyways I'm working on an article on getting javascript
> > files into a jar to be ran as an executable jar, hopefully what I have
> > is right?
>
> >http://gorilla3d.blogspot.com/2009/03/putting-java-into-javascript-wi...
>
> Nice use of Rhino.
>
> Why do you need to extract and rejar the Rhino class files? Can't you
> just use a class path with both js.jar and your compiled classes?
>
> --N

Norris, well I don't know how to make a that works. I know you can
compile the script and re-run it without unjaring it:

Josephs-Mac:smiley josephmontanez$ java -cp js.jar
org.mozilla.javascript.tools.shell.Main smiley.class

Just not a strong enough java user to know how to make a jar to run
that command.
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to