renamed VERSION to JAVA_VERSION - fixed to properly use %release