Regenerate Java version.