[HELP ] Call java code / method from Ruby programming

Hi All ,

I have written java code ( This java code will not return any thing
but
it will do action ) which is required call from ruby , please let me
what
is best way to achieve this ?

Thanks ,
Muthu S. SR

On 21 June 2013 04:04, Muthu S. [email protected] wrote:

Hi All ,

I have written java code ( This java code will not return any thing but it
will do action ) which is required call from ruby , please let me what is
best way to achieve this ?

You can use the ruby system method to run a command, which can be any
language of course. Or you can use the backtick syntax.

Colin

Colin L. wrote in post #1113075:

On 21 June 2013 04:04, Muthu S. [email protected] wrote:

I have written java code ( This java code will not return any thing but it
will do action ) which is required call from ruby , please let me what is
best way to achieve this ?

You can use the ruby system method to run a command, which can be any
language of course. Or you can use the backtick syntax.

You might also take a look at this:

http://rjb.rubyforge.org

On Fri, Jun 21, 2013 at 9:23 AM, Robert W. [email protected]
wrote:

http://rjb.rubyforge.org

Did we all seem to forget there is something called jRuby?