Fixing the error message as null is being replaced in place of JAVA_HOME

Simple fix in error message.