added plugin to check java version.