# cat test.rb require 'java' import java.lang.System class Ruboto def greet(who) puts "Hello, #{who}!" end end name = System.get_property('java.runtime.name') Ruboto.new.greet(name) # dalvikvm -classpath ruboto.jar org.jruby.Main -X-C test.rb Hello, Android Runtime!Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 2.5 Attribution License. Java