Skip to contents

Get the current JAVA_HOME environment variable.

Usage

java_get_home()

Value

The value of the JAVA_HOME environment variable.

Examples

java_get_home()
#> [1] "/home/runner/.cache/R/rJavaEnv/installed/linux/x64/Corretto/native/17"