Learn R Programming

rJavaEnv (version 0.3.0)

java_check_version_cmd: Check installed Java version using terminal commands

Description

Check installed Java version using terminal commands

Usage

java_check_version_cmd(java_home = NULL, quiet = FALSE)

Value

A character vector of length 1 containing the major Java version.

Arguments

java_home

Path to Java home directory. If NULL, the function uses the JAVA_HOME environment variable.

quiet

A logical value indicating whether to suppress messages. Can be TRUE or FALSE.

Examples

Run this code
java_check_version_cmd()

Run the code above in your browser using DataLab