Registry / utility / java-locator

java-locator

JSON →
library0.1.9rscratesunverified

Locates a Java installation on the host system by searching common paths and environment variables.

# Cargo.toml [dependencies] java-locator = "0.1.9"
INSTALL
IMPORT
SIG · JAVA-LOCATOR
J
java-locator
utilityrustv0.1.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

locate_java
use java_locator::locate_java;

Locates the Java installation path on the system.

use java_locator::locate_java; fn main() { match locate_java() { Some(path) => println!("Java found at: {}", path.display()), None => println!("Java not found"), } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.9latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
java-locator — cargo add java-locator · libregistry