Fixing java.sh, muted RubyGems install.