pub fn get_java_dyn_lib() -> Result<String>Expand description
Gets the directory containing the JVM dynamic library.
§Returns
Ok(String)containing the directory pathErr(JavaLocatorError)if the JVM library cannot be found
§Examples
use java_manager;
fn main() -> java_manager::Result<()> {
let jvm_lib_dir = java_manager::get_java_dyn_lib()?;
println!("JVM library directory: {}", jvm_lib_dir);
Ok(())
}