Why JAVA_HEAP_MAX?  I can see that it works, but it is not an intuitive place to put them at all.  And what happens if someone else sets JAVA_HEAP_MAX.  This will stomp on it.