set java version in hiera