Updated to jruby 1.7.2
Updated to newer methods to remove deprecated warnings at runtime