Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have just downloaded the Android SDK for Linux. I am running OpenSuse 12.3. When I try to run Eclipse, there is an error that says that there is no program to run executable files. So, I use the following ways to make the Eclipse program executable.

  1. Right click on the program and open the 'Properties' option to check the 'Allow executing file as program' checkbox. But as soon as I check the box, it gets unchecked and I am not able to run Eclipse.
  2. I tried using the chmod +x command but there was no change.

As requested here is the output of the file eclipse and ldd eclipse command.

gursheel@linux-vfsr$ file eclipse
eclipse: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped
gursheel@linux-vfsr$ ./eclipse
bash: ./eclipse: Permission denied
gursheel@linux-vfsr$ ldd eclipse
ldd: warning: you do not have execution permission for `./eclipse'
/usr/bin/ldd: line 124: ./eclipse: Permission denied
gursheel@linux-vfsr$ chmod +x eclipse
gursheel@linux-vfsr$ ldd eclipse
ldd: warning: you do not have execution permission for `./eclipse'
/usr/bin/ldd: line 124: ./eclipse: Permission denied

Here is the entry in /etc/fsatb

/dev/disk/by-id/ata-HITACHI_HTS725032A9A364_100712PCK304VKKKRWMJ-part7 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-HITACHI_HTS725032A9A364_100712PCK304VKKKRWMJ-part8 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-HITACHI_HTS725032A9A364_100712PCK304VKKKRWMJ-part9 /home                ext4       acl,user_xattr        1 2
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

and /proc/mounts Statics is the name of the drive that has the adt folder with eclipse in it.

/dev/sda3 /run/media/gursheel/Statics fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
/dev/sda3 /var/run/media/gursheel/Statics fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0

How do I make Eclipse executable?

share|improve this question
2  
What's your user name and eclipse owner? try to ls -l eclipse_path... if differ, try to chown your_user -R eclipse_path –  Mohsen Pahlevanzadeh Aug 27 '13 at 19:24
    
Is that Eclipse executable shell script? Did you try doing bash eclipse from the terminal? –  Barun Aug 27 '13 at 19:25
    
How did you try to run Eclipse? Copy-paste the command(s) you typed, and any error message. –  Gilles Aug 27 '13 at 23:15
    
@Gilles Here are the commands. .../Linux/Android/adt-bundle-linux-x86-20130729/eclipse> chmod +x eclipse .../Linux/Android/adt-bundle-linux-x86-20130729/eclipse> ./eclipse bash: ./eclipse: Permission denied –  fts Aug 28 '13 at 2:51
    
@Barun I tried doing that. There was an error. 'Cannot execute binary file' –  fts Aug 28 '13 at 2:56
show 7 more comments

1 Answer

Pretty sure Eclipse is a java program. Try launching it manually. http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F Report back if there are errors. If there are no errors then there is something wrong with the launch script which is likely written in Bash or Sh.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.