I'm trying to install Android Studio on my Macbook Pro running OSX Yosemite. Every time I try to open the Android Studio application, I get an error that says:
Java not found
Android Studio was unable to find a valid JVM.
I know that I have Java installed, and when I go into Terminal and do java -version, I get:
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
How can I address this?