You are running a wrong version of the file (here java) for the system.
**Problem:**
The file is there and can not be executed. The error message is "No such file or directory"
**Solution:**
[You are running the wrong file version for your system][1].
The problem can occur for example if you run your Jenkins installation in a Docker container with Alpine Linux, [since Alpine uses musl libc. The Oracle Java binaries only run on glibc.][2]
see also [this question][3] about Docker alpine images and JDK
[1]: https://askubuntu.com/questions/133389/no-such-file-or-directory-but-the-file-exists
[2]: https://github.com/gliderlabs/docker-alpine/issues/11
[3]: https://stackoverflow.com/a/45147882/1838233
You are running a wrong version of the file (here java) for the system.
**Problem:**
The file is there and can not be executed. The error message is "No such file or directory"
**Solution:**
[You are running the wrong file version for your system][1].
The problem can occur for example if you run your Jenkins installation in a Docker container with Alpine Linux, [since Alpine uses musl libc. The Oracle Java binaries only run on glibc.][2]
see also [this question][3] about Docker alpine images and JDK
[1]: https://askubuntu.com/questions/133389/no-such-file-or-directory-but-the-file-exists
[2]: https://github.com/gliderlabs/docker-alpine/issues/11
[3]: https://stackoverflow.com/a/45147882/1838233