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.
- 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.
- 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?
user name
andeclipse owner
? try tols -l eclipse_path
... if differ, try tochown your_user -R eclipse_path
bash eclipse
from the terminal?.../Linux/Android/adt-bundle-linux-x86-20130729/eclipse> chmod +x eclipse .../Linux/Android/adt-bundle-linux-x86-20130729/eclipse> ./eclipse bash: ./eclipse: Permission denied