Skip to content

Commit 72ef14a

Browse files
e-kotovCopilot
andauthored
Update R/java_env.R
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 921e9a3 commit 72ef14a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/java_env.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ java_env_unset <- function(
493493
#' @examples
494494
#' java_get_home()
495495
java_get_home <- function() {
496-
java_home <- Sys.getenv("java_get_home", unset = NA)
496+
java_home <- Sys.getenv("JAVA_HOME", unset = NA)
497497
if (is.na(java_home) || java_home == "") {
498498
return("")
499499
}

0 commit comments

Comments
 (0)