Fixed errors

It's not just the first time you release that you'd need this. Also, please surround JAVA_HOME in backticks.
single backticks inside triple backticks is redundant