Skip to main content

detect_java_major

Function detect_java_major 

Source
pub(crate) fn detect_java_major() -> Option<u32>
Expand description

java -version writes to stderr, not stdout. Any spawn failure means “no usable java”, which is exactly what the preflight wants to hear.