Skip to main content

Module search

Module search 

Source
Expand description

Discover Java installations via PATH, Everything SDK, registry, BFS, and more. System-level discovery of Java installations.

Provides three tiers of search:

FunctionScope
quick_searchWalks every directory in $PATH looking for java (fastest)
deep_searchWindows: Everything SDK (falls back to full_search).
Linux/macOS: delegates to full_search
full_searchRegistry, keyword BFS, Microsoft Store, where command,
package managers (Chocolatey, Scoop, SDKMAN, Homebrew,
JBang, asdf-vm), JetBrains IDE-bundled JDKs,
JVM directories, Minecraft runtime

Search results are automatically deduplicated: when both a JDK and its bundled JRE are found, only the JDK-level entry is returned.

Functionsยง

deep_search
Performs a deep, platform-aware search for Java installations.
full_search
Performs a comprehensive, multi-strategy scan for Java installations.
quick_search
Searches for Java installations by scanning every directory in $PATH.