resolve
Returns a JavaToolchainDownload if a Java toolchain matching the provided specification can be provided.
Return
empty Optional if and only if the provided specification can't be matched
Parameters
request
information about the toolchain needed and the environment it's needed in