2

I downloaded Android Development Tool for linux (ADT) and placed it in home directory. After unzipping the files, when I double click the "eclipse" executable file; the eclipse works perfectly fine.

But If I unzip the ADT in a different directory, in my case directory E: (is shown when I boot in windows 7) There double clicking the same "eclipse" executable file does not run eclipse. It shows error message:

Could not display /media/Software/00.AndroidLinux/ADT/eclipse/eclipse. There is no application installed for executable files. Do you want to search for an application to open this file?

If I press yes in the Dialog, it finds "Pypar2" which is not my solution.

I found that the "eclipse" file permission is following

-rw------- 1 tanvir tanvir 63050 Feb  4 19:05 eclipse

I tried to change the permission by "chmod +x eclipse" , but no use. This command does not change the file permission at all in this case.

what should I do?

Relevant output of cat /proc/mounts:

/dev/sda6 /media/Software fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0

Please not that I'm new to Ubuntu and still learning day by day.

gertvdijk
  • 69,427
dgrgge4
  • 229

1 Answers1

2

Following worked for me:

First, save the old copy of /etc/fstab to say $HOME/fstab.old

Now run

$mount  

to get the device type (eg, /dev/sda3), look for where the drive is mounted,

Example:

/dev/sda3 on /some/path type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)  

(NOTE: In your case the device type and the directory where it's mounted will be different).

Find the UUID of the disk by running:

$blkid  

On my system this returned:

/dev/sda3: UUID="90FEDFC7FEDFA3AE" TYPE="ntfs"  

Copy/paste the following entry in your /etc/fstab file: (run gksudo gedit /etc/fstab to edit)

UUID=90FEDFC7FEDFA3AE /media/Software ntfs rw,noauto,users,exec,nls=utf8,umask=003,gid=46,uid=1000    0   0  

(NOTE: WRITE THE UUID OF YOUR DISK. Also provide any path that is convinient to you).

Restart your computer.
Now you should be able to execute any file.

Thomas Ward
  • 78,878
mohit
  • 198