Skip to main content

java_available

Function java_available 

Source
pub fn java_available() -> bool
Expand description

True if a java executable is resolvable on PATH.

The embedded archive media driver is a Java process, so the persistent-subscription tests use this to skip themselves when Java isn’t installed — instead of being blanket #[ignore]d. With Java present they run normally under cargo test; without it they no-op and pass.