Utility function to check if Java is installed and if it has the right
version.
Usage
has_java(version = NULL)
Value
A logical vector of length 1.
Arguments
version
Character string specifying the minimum version of Java.
If the installed Java version is lower than this, returns FALSE.
If NULL, only checks if any kind of Java is installed on the
system.