From: Nick Sieger Date: 2009-04-23T02:43:53+09:00 Subject: Re: Calling java function from JRuby On Wed, Apr 22, 2009 at 12:09 PM, Ahmed Abdelsalam wrote: > Hi,... > > I'd like to call java function from inside JRuby. For example, when a > certain event happen inside JRuby script, the java function is executed. > > To simplify it: > Here is some ruby code: > def handle_value(value) >   # I want to send value to the java function to handle it > end > > > Here is a java function > void handle_value(String value) > { >    System.out.println("value = " + value); > } > > > Any help please? http://lmgtfy.com/?q=calling+java+from+jruby Cheers, /Nick