Fix (syntax) errors in Java client config template

The client configuration template for Java contained a syntax error and was using an undeclared variable.