java available check

java_available()

jdk_available()

Examples

 java_available()
#> [1] TRUE