Calling from JRuby
Kon Soulianidis
kon at outrospective.org
Sun Jan 26 18:47:25 PST 2014
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 <james_ladd at hotmail.com> 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.
>
More information about the nashorn-dev
mailing list