Is that feature still supported? I can't seem to find any Documentation past 2008 or so. This is an insert from the Oracle website...
At runtime, the JSR 223 Scripting APIs must locate the appropriate script engine for the scripting language you want to use. The script engine interprets and executes the script. You can get the current JSR 223 third-party script engines from the Scripting Project on java.net by downloading the jsr223-engines.tar.gz or the jsr223-engines file and expanding it somewhere on your system, for example, in the scriptengines directory.
But it was written in 2007 and the link for all of these links are no longer in service. So I am unable to get any JRuby engine...anything.
Oracle Doc: http://www.oracle.com/technetwork/articles/dsl/jruby-141877.html
If anyone could supply me with a current Tutorial or Docs that I can Use JRuby inside Java. I currently have JRuby running successfully, but don't know how to setup Scriptengines in Java.
Thanks Very much.
I found current Documentation on the JRuby site. Or rather github/JRuby.
https://github.com/jruby/jruby/wiki/RedBridge
This is called 'RedBridge' and is described in detail here. I have it up and running.
Here is my Sample code:
This outputs: 5 10
Which is expected.
Thanks rorra for the jruby-complete.jar link, I copied the .jar into my java lib folder and imported it.