java

package
v0.0.0-...-bfe662d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CLASSPATH_SEPARATOR = ":"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type JavaInstallation

type JavaInstallation struct {
	Source  JavaSource `json:"source"`
	Value   string     `json:"value"`
	Version string     `json:"version"`
	Vendor  string     `json:"vendor"`
}

func GetJavaPaths

func GetJavaPaths() []JavaInstallation

type JavaSource

type JavaSource string
const (
	SourceSystemDir           JavaSource = "system"
	SourceUserDir             JavaSource = "user"
	SourcePath                JavaSource = "path"
	SourceEnvironmentVariable JavaSource = "env"
)

func (JavaSource) MarshalText

func (source JavaSource) MarshalText() ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL