From: arton Date: 2010-10-20T19:51:09+09:00 Subject: Re: ruby and java Hi, I believe RJB (Ruby Java Bridge) is for you. http://rubyforge.org/projects/rjb/ Rjb is Ruby extension library for 1.8.x or 1.9.1 or later and Rubinius. And it was tested on OS X, some Linux, Windows with JSE 1.6. But it has restriction for multithreading and may not run with Swing, AWT etc. So if you need GUI, jruby is your choice. You can find some document on http://www.artonx.org/collabo/backyard/?RubyJavaBridge - easy start: set JAVA_HOME environment variable to your JDK installed directory. gem install rjb script sample) require 'rjb' require 'rjbextension' # for direct jar load require 'full-path-name-of-jarfile.jar' Rjb::load # load JVM in Ruby's FooBar = Rjb::import('Foo.Bar.YourClass') # load Class into FooBar foobar = FooBar.new # instantiate from the class foobar.call_instance_method(and arguments) # invoke it. -- arton -------------------------------------- Get the new Internet Explorer 8 optimized for Yahoo! JAPAN http://pr.mail.yahoo.co.jp/ie8/