While I was trying to Install Android-Studio
and execute the command
bash: ./studio.sh: Permission denied
(Java_Home = /usr/lib/jvm/java-7-oracle)
You might not have
chmod +x studio.sh try
If this was not it, try again like this:
sh -x ./studio.sh. This will show you every line that is run and will help you debug it.