Skip to content
Snippets Groups Projects
Commit c9a75db2 authored by EricFromCanada's avatar EricFromCanada
Browse files

cask: recommend adoptopenjdk as per #6040

parent de26e491
No related branches found
No related tags found
No related merge requests found
......@@ -87,17 +87,17 @@ module Cask
if java_version == :any
<<~EOS
#{@cask} requires Java. You can install the latest version with:
brew cask install java
brew cask install adoptopenjdk
EOS
elsif java_version.include?("11") || java_version.include?("+")
<<~EOS
#{@cask} requires Java #{java_version}. You can install the latest version with:
brew cask install java
brew cask install adoptopenjdk
EOS
else
<<~EOS
#{@cask} requires Java #{java_version}. You can install it with:
brew cask install homebrew/cask-versions/java#{java_version}
brew cask install homebrew/cask-versions/adoptopenjdk#{java_version}
EOS
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment