OpenMS
|
Detect Java and retrieve information. More...
#include <OpenMS/SYSTEM/JavaInfo.h>
Static Public Member Functions | |
static bool | canRun (const String &java_executable, bool verbose_on_error=true) |
Determine if Java is installed and reachable. More... | |
Detect Java and retrieve information.
Similar classes exist for other external tools, e.g. PythonInfo .
|
static |
Determine if Java is installed and reachable.
The call fails if either Java is not installed or if a relative location is given and Java is not on the search PATH.
java_executable | Path to Java executable. Can be absolute, relative or just a filename |
verbose_on_error | On error, should an error message be printed to OPENMS_LOG_ERROR? |