I just downloaded jruby and looked at the samples, but I couldn't see
documentations or samples show how to invoke Ruby scripts from Java
applications. I tried
Runtime.getRuntime().exec("jruby swing.rb"); , but it didn't work. Any
ideas??

Also, is it possible to pass Java variables in Java program to jruby
scripts. It needs some kind of bindings..

Thanks


----- Original Message ----- 
From: <nobu.nokada / softhome.net>
To: <ruby-core / ruby-lang.org>
Sent: Thursday, September 26, 2002 12:07 AM
Subject: Re: can java applications invoke ruby scripts??


> Hi,
> 
> At Thu, 26 Sep 2002 10:13:24 +0900,
> John Davis wrote:
> > I want to know if Java applications can invoke ruby scripts?? In other
> > words, is Ruby a Java Scripting Language???
> 
> Yes for former, No for latter.
> 
> -- 
> Nobu Nakada
>