Java8 - Remove jdk directory if empty on uninstall (#5603)
Java8 - Remove jdk directory if empty on uninstall (#5603)

* java8: Remove jdk directory if empty on uninstall

* Update java8.rb

mahori/homebrew-versions,pkq/homebrew-versions,caskroom/homebrew-versions,rogeriopradoj/homebrew-versions,rogeriopradoj/homebrew-versions,Ngrd/homebrew-versions,Ngrd/homebrew-versions,victorpopkov/homebrew-versions,404NetworkError/homebrew-versions,pkq/homebrew-versions,lantrix/homebrew-versions,404NetworkError/homebrew-versions,caskroom/homebrew-versions,mahori/homebrew-cask-versions,victorpopkov/homebrew-versions,lantrix/homebrew-versions