Revert "Specify JAVA_HOME"

This reverts commit 390cd6314db1c35e24e2aaca344a923bd83198c5
which broke build