I have successfully installed Android studio on my Ubuntu 14.04 LTS running as a guest in VMWare 10 on my windows 10. But when I check for updates it shows me some updates available and a message below which says : 

```
Studio does not have write access to /home/aman/Downloads/android-studio. Please run it by a privileged user to update.

```

I am newbie in Linux environment, I know I have to give some read/write permission to studio but I don't know how.

P.S. I tried running it with the following command: 

```
sudo ./studio.sh

```

it gives me an error saying :

```
tools.jar seems to be not in studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE

```