JRuby is quite a sweet thing. I started playing around a bit with it today and did this stupid program:
5.times do |i|
random = Random.new
As I said, a stupid program, but it shows how to access Java classes from inside of Ruby.