Revert "zprofile: add JAVA_HOME environment variable"

This reverts commit 0222bf8a03f76a3e678c0307aa02ffa5521995d3.