The server requires that Java be installed on the system and made available to the server, and it must be installed prior to running setup. If the setup tool does not detect that a suitable Java environment is available, it will refuse to run.

To ensure that this does not happen, the setup tool should be invoked with an explicitly defined value for the JAVA_HOME environment variable that specifies the path to the Java installation that should be used. For example:

env JAVA_HOME=/ds/java ./setup

If the previous command doesn't solve the issue, the value specified in the provided JAVA_HOME environment variable might have been overridden by another environment variable. In that case, try the following command, which should override any other environment variables that can be set:

env UNBOUNDID_JAVA_HOME="/ds/java" UNBOUNDID_JAVA_BIN="" ./setup