I am able run a simple ruby script using Jruby. But I am stuck now that
I can’t seem to call my java classes from script. Where should I place
my jars so that ruby can access it? Also can I call java using Jruby in
a controller?
Wes G. wrote:
If you’re interested in going the bridge route, I’ve used Jrb (Java-Ruby
bridge, see: http://arton.no-ip.info/collabo/backyard/?RubyJavaBridge)
to successfully use both JVM built-ins as well as talk to a 3rd party
API (JExcelAPI).See Xalan with Ruby (either command line or via Jrb)? - Ruby - Ruby-Forum for some code examples of how
you can us Jrb.Feel free to email me at weyus at att dot net with questions. I’ve
found Jrb to work quite well.Wes