Tue
24
Feb '09
|
by Frank Spychalski filed under all
No Comments »
|
Last week I cross-compiled miniruby to Android (more details on that adventure later). I asked some time ago about JRuby on Android and it seems like Charles Nutter finally managed to run JRuby on Android.
# 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!
This leaves only one question: where can I get ruboto.jar to start playing around with it