Help installing android studio

I have been trying to install android studio and I have gotten to the point where I am trying to run studio.sh and I am getting the error

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

I am running ubuntu 15.04 and I have the sdk installed please help.