Documentation ¶
Index ¶
- Constants
- func DownloadJdk(client *http.Client, d *Descriptor, logger *log.Logger) ([]byte, error)
- func FetchRecommendedJdk(client *http.Client, homeDir string, logger *log.Logger) (string, error)
- func FindLocally(minVersion int) (string, bool)
- func GetJavaMajorVersion(jdkPath, homeDir string) (version int, err error)
- func JavaHome() (string, bool)
- func Verify(client *http.Client, d *Descriptor, r io.Reader, logger *log.Logger) (bool, error)
- type Descriptor
- type Error
Constants ¶
View Source
const MinJavaVersion = 11
Variables ¶
This section is empty.
Functions ¶
func DownloadJdk ¶
func FetchRecommendedJdk ¶
func FindLocally ¶
func GetJavaMajorVersion ¶
Types ¶
type Descriptor ¶
func (*Descriptor) String ¶
func (d *Descriptor) String() string
Click to show internal directories.
Click to hide internal directories.