diff --git a/Casks/java6.rb b/Casks/java6.rb index 48220a96e..08d947f0f 100644 --- a/Casks/java6.rb +++ b/Casks/java6.rb @@ -13,4 +13,6 @@ cask 'java6' do 'com.apple.pkg.JavaMDNS', 'com.apple.pkg.JavaEssentials', ] + + zap trash: "/Library/Java/JavaVirtualMachines/#{version.major_minor_patch}.jdk" end