ensure java heap minimum is always smaller than heap max

 also correct node syntax