Fixing java_spec.rb