New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to build on Ubuntu #3782
Comments
The development environment on which the Google support team works on closure-compiler is using JDK 11.
Hmmm.... it looks like it's actually bazelisk or bazel that failed. |
i tried to build with yarn, but also get error like below.
|
perhaps you do not have I got a very similar looking error message, with openjdk 11 installed on my Fedora 34 system:
I thought perhaps it was my java version number at fault, from this output I thought I had a full JDK installed:
Just to try something, I downloaded JDK 16 following these insturctions https://www.techtransit.org/install-and-upgrade-java-version-on-centos-redhat-and-fedora-linux/ (untar the JDK and use After installing a "proper" JDK and setting up Bazel appears to have poor error reporting going back a few years, see google/j2cl#34 |
I am trying to build the latest code from github on Ubuntu 20.04, and get the following error.
Here is my java version:
Any ideas on how to fix this issue?
The text was updated successfully, but these errors were encountered: