Revert "Added patch to better try to set the JVM_HOME environment variable."

This doesn't work if the JDK isn't installed on those predefined locations.

This reverts commit ffac13bce2ad4adcb510f29248a186ae67ca53a6.