LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Development ide for linux c/c++ (https://www.linuxquestions.org/questions/programming-9/development-ide-for-linux-c-c-338007/)

blastradius 08-01-2005 03:20 PM

Untarred the new file but it says "cannot execute binary file", (the eclipse file is in green). I did say i'm not a Linux expert! how do i run the file?

bytepool 08-01-2005 03:32 PM

hi,
did you check whether the file was executable (file permissions)? But it actually should be. If it is, try to download a recent jre from suns website, and install it under the eclipse folder (~/eclipse/jre or similar). At least that worked for me.
kind regards,
bytepool

Nylex 08-01-2005 03:33 PM

Does the file have executable permissions set on it? Check by doing "ls -l filename" without the quotes. If you don't see any "x" in the output, then it doesn't. Do a "chmod a+x filename" again without the quotes to make it executable.

blastradius 08-02-2005 01:16 AM

Yes the file is executable but still says "cannot execute binary file", i've just been typing a "./eclipse" command, is this right?

These are the files i have in the eclipse directory.

about_files configuration eclipse.ini features jdk1.3.1_16 notice.html readme
about.html eclipse epl-v10.html icon.xpm libcairo.so.1 plugins startup.jar

Thanks for your help.

enemorales 08-03-2005 02:38 AM

... and these are mine
Code:

~/IDEs/eclipse> ls
about_files/    eclipse*      features/      notice.html  startup.jar
about.html      eclipse.ini  icon.xpm        plugins/
configuration/  epl-v10.html  libcairo.so.1*  readme/

I think they are the same you have. It runs with ./eclipse, and shows a window message even if JAVA is not configured. Maybe you downloaded the Windows binary? Try "file eclipse". Mine gives:

Code:

~/IDEs/eclipse> file eclipse
eclipse: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped

EDIT: Put code tags.

blastradius 08-03-2005 12:07 PM

This is what i get, wonder if it's a problem with the 64bit business. Mine's an AMD chip, does it matter?

eclipse: ELF 64-bit LSB executable, IA-64 (Intel 64 bit architecture) version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), not stripped

Still says "cannot execute binary file" when i "./eclipse"


All times are GMT -5. The time now is 01:35 AM.