From: Wes Nakamura Date: 2000-12-09T05:41:02+09:00 Subject: [ruby-talk:6943] Re: Ruby as extension lang for Java app. Awhile ago I did a little work on the java.c file in that module to get it to compile with ruby 1.6 (or was it 1.4?). Nothing fancy, but I was able to get it to create a few java objects from ruby. There still seems to be problems with it. I had trouble with some of the object types and polymorphism. Unfortunately I didn't have time to pursue anything further. But I could send it to you if you're interested, it might save you a couple of minutes or so. :-) Wes. ## Wes Nakamura - wknaka@pobox.com On Sat, 9 Dec 2000 rawhiteside@my-deja.com wrote: : Hi Andy, : : Thanks for the URL! That looks to be a great starting point. : Wonder why I didn't find it myself. Google very seldom lets me down... : : Cheers, : --Bob : : : In article , : Andy@Toolshed.Com wrote: : > On Sun, 03 Dec 2000 17:58:34 GMT, : > rawhiteside@my-deja.com wrote: : > > : > > : > > Hi All, : > > : > > Ruby newbie here (that has a nice ring to it, : > > eh?). : > : > Welcome aboard! : > : > > I guess the strategy would be to fire up the JVM, : > > then fire up a Ruby interpreter via JNI, giving : > > Ruby enough context to invoke the appropriate : > > Java class methods. Comments? : > : > There is a Java-Ruby module that does exactly that (and : > I believe it is bi-directional). However, I think active : > development stopped and it's only valid for an antique (1.1.3) : > version of Java. It's at : > ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/java-module-0_5.tar.gz : > : > But it probably wouldn't be too much effort to dust it off : > and bring it up to speed. : > : > Please let us know how it turns out! : > : > /\ndy