Fix typo

I made a mistake, the java executable is of course JAVA_CMD.