Skip to content

Unable to release new emsdk due to closure-compiler Java errors on mac-arm64 builder #1719

Description

@sbc100

Trying to release 6.0.0 in #1717 , we are seeing this error from the mac-arm64 builder:

shared:INFO: (Emscripten: Running sanity checks)
Error: LinkageError occurred while loading main class com.google.javascript.jscomp.CommandLineRunner
        java.lang.UnsupportedClassVersionError: com/google/javascript/jscomp/CommandLineRunner has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
Error: LinkageError occurred while loading main class com.google.javascript.jscomp.CommandLineRunner
        java.lang.UnsupportedClassVersionError: com/google/javascript/jscomp/CommandLineRunner has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
Command '['/Users/distiller/project/node/22.16.0_64bit/bin/node', '--max_old_space_size=8192', '/Users/distiller/project/upstream/emscripten/node_modules/.bin/google-closure-compiler', '--platform=java', '--version']' returned non-zero exit status 1.
emcc: error: closure compiler (/Users/distiller/project/node/22.16.0_64bit/bin/node --max_old_space_size=8192 /Users/distiller/project/upstream/emscripten/node_modules/.bin/google-closure-compiler --platform=java --version) did not execute properly!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions