i am working on Ubuntu10.10 OS and i have downloaded eclipse-jee-helios-SR1-linux-gtk-x86_64.tar.gz. my computer is 64 bit machine.
when i untar eclipse and try run ./eclipse
from command line, it gives me above error.
when i run file eclipse
, it gives me following information.
eclipse: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.0, not stripped
Could someone help me to find out what is going wrong here
Thanks in advance for any help
How to Fix ‘cannot execute binary file: Exec format error’ on Ubuntu. If the issue is with your Computer or a Laptop you should try using Restoro which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption.
Whenever a user encounters the “ cannot execute binary file ” error, it usually serves as a warning not to open the file you are trying to access. This is because the file is not executable. The error occurs due to several issues, which include incomplete installation or incorrect file permissions.
This can also happen if the binary uses a libc implementation which is not libc, such as musl. These days this specific problem is most likely encountered when trying to run a binary with libc in a Docker container with an image based on alpine.
If it tells you that it’s an ELF 64-bit binary and you received i686 as output from the arch command, then there’s no way you can reasonably run it on your machine.
My bet is that you are using a x86 Ubuntu with a x86_64 JVM. To make sure your Ubuntu is 64 bits, run the following command:
$ uname -i
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With