Hello,

rhino is "just" an interpreter of javascript, if you want use jquery
or prototype you need a browser environment (DOM, and many of other
things).
a project exist for rhino : env-js http://github.com/thatcher/env-js
This is an javascript implementation of a browser env for rhino.

have fun

Quentin



On 2 mar, 17:39, doles <[email protected]> wrote:
> Hello,
>
> How does one load a library such as jQuery or prototype into the rhino
> context when running as an embedded app within a java program? I am
> using Java 6, rhino 1.7R2. I can totally run functions and eval
> arbitrary code, but I cant find any documentation or even class files
> in the source tree that scream to me "use me to load libraries". So
> what class/method in Rhino actually satisfies the load (file)
> semantics in the command line?
>
> Thanks for your attention!
>
> Sachin

_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to