MCPcopy Index your code
hub / github.com/NativeScript/SimDeck / java_home

Function java_home

packages/server/src/android.rs:1860–1863  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1858}
1859
1860fn java_home() -> Option<OsString> {
1861 env::var_os("JAVA_HOME")
1862 .or_else(|| cfg!(target_os = "macos").then(|| OsString::from("/opt/homebrew/opt/openjdk")))
1863}
1864
1865fn home_dir() -> PathBuf {
1866 env::var_os("HOME")

Callers 1

run_command_with_stdinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected