I would guess the same way.  Perhaps translate all the Java on the Scripting
docs<http://download.java.net/jdk8/docs/technotes/guides/scripting/prog_guide/javascript.html>into
JRuby ;-)


On 27 January 2014 13:30, James Ladd <[email protected]> wrote:

> Does anyone have example code of calling Nashorn from JRuby?
>
> I'd like to create an environment from JRuby and then execute some
> Javascript within it.
>
> I'm guessing this would follow the JSR approach to invoking another
> script runtime - Yes?
>
> - James.
>

Reply via email to