SCM-Manager: set JAVA_HOME

Closes #17789.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>