fixed a typo, variable 'version' doesn't exist, but 'java_version' does