pub fn detect_java_bin_dir(bin_dir: &Path) -> Option<JavaRuntime>
Expand description
Attempts to detect a Java runtime from the given directory path.
ยงReturns
Some(JavaRuntime)
if the given path is a directory containing the Java executable file.None
if the given path is not a directory containing the Java executable file.