[zsh] Don't set JAVA_HOME if java isn't installed