Hi, I follow the tutorial,
$ chmod +x bazel-0.18.0-installer-linux-x86_64.sh
$ ./bazel-0.18.0-installer-linux-x86_64.sh
but it gives me a new error like following,
[Commit](https://github.com/bazelbuild/bazel/commit/d13df47)
Uncompressing......Error: LinkageError occurred while loading main class com.google.devtools.build.lib.bazel.Bazel
java.lang.ExceptionInInitializerError: null
I wonder what is wrong and what should I do? Thanks for help.
Sorry for not looking into this earlier. I guess this has been resolved in newer Bazel versions?
If not, can you share some more information about your environment - which kind and version of Linux are you running?
Hi,
The problem is still present, even if the version of bazel is more recent.
As #2550 mention, the problem is occurring when a non-ascii character is present in path.
Step to reproduce:
% ./bazel-0.27.0-linux-x86_64 --help
Error: LinkageError occurred while loading main class com.google.devtools.build.lib.bazel.Bazel
java.lang.ExceptionInInitializerError: null
Configuration:
% pwd
/home/builder/Téléchargements
% uname -a
Linux computer 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) x86_64 GNU/Linux
Workaround: Move the executable to another directory (path) with only ascii charachters inside name
Duplicate of #2550.
Most helpful comment
Hi,
The problem is still present, even if the version of bazel is more recent.
As #2550 mention, the problem is occurring when a non-ascii character is present in path.
Step to reproduce:
Configuration:
Workaround: Move the executable to another directory (path) with only ascii charachters inside name