def adjust_release_version(release_name):
    """
    Adjust release_name to match the build version from the executable.

    executable: 1.8.0_212-b04          release_name: jdk8u212-b04
    executable: 11.0.3+7               release_name: jdk-11.0.3+7
    executable: 12.0.1+12              release_name: jdk-12.0.1+12
    """
    if release_name.startswith('jdk8u'):
        return release_name.replace('jdk8u', '1.8.0_')
    else:
        return release_name[4:]