# resolve

abstract fun resolve(request: JavaToolchainRequest): Optional<JavaToolchainDownload>(source)

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

#### Since

7.6

#### Parameters

request

information about the toolchain needed and the environment it's needed in