I just downloaded the Android Studio. While trying to run it, I had to modify the environment variable and add
JAVA_HOME
and
i think you are doing every thing fine just remove ";" from the last of java_home variable. every thing will work fine.