Update java7.rb
Merge pull request #175 from jonsmorrow/fix_java_7

Update java7.rb