Android Studio failed to load JVM on Mac OSX (Mavericks)

后端 未结 6 1288
南笙
南笙 2021-01-30 17:28

I am trying to setup Android Studio on my Mac. It is running OSX 10.9.1 Mavericks. I have installed the latest JDK (at the time of writing 1.7 update 45), and I installed Androi

6条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-30 18:02

    I did below command on Mac Terminal to fix this problem, please make sure java version and path.

    $java -version
     java version "1.8.0_25"
     Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
     Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
    
    $ export STUDIO_JDK=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk
    $ open /Applications/Android\ Studio.app
    

提交回复
热议问题