update java.rb spec