MCPcopy Create free account
hub / github.com/astonbitecode/j4rs / java_library_path

Function java_library_path

rust/src/utils.rs:58–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58pub(crate) fn java_library_path() -> errors::Result<String> {
59 let default = format!("-Djava.library.path={}", deps_dir()?);
60 if cfg!(windows) {
61 Ok(default)
62 } else {
63 Ok(format!("{}:/usr/lib:/lib", default))
64 }
65}
66
67pub(crate) fn deps_dir() -> errors::Result<String> {
68 let mut pb = jassets_path()?;

Callers 1

buildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected