Function detect_java_exe

Source
pub fn detect_java_exe(path: &Path) -> Option<JavaRuntime>
Expand description

Attempts to detect a Java runtime from the given path.

ยงReturns

  • Some(JavaRuntime) if the given path points to an available Java executable file.
  • None if the given path is not an available Java executable file.