NO JVM installation found

来源:互联网 发布:淘宝男士品牌棉家居服 编辑:程序博客网 时间:2024/05/14 18:05

今天抛弃了eclipse安装了android studio,安装好出现了错误:
NO JVM installation found. please install a 64-bit JDK,解决方法
Error launching android studio
NO JVM installation found. please install a 64-bit JDK,
“没有发现Java虚拟机安装。请安装一个64位的JDK,”
If you already have a JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > Environment Variables.

网上搜了一堆都是什么jdk环境没配,可是我检查了几遍环境配的都对,path,JAVA_HOME,classpath,我还把jdk换成了最新的可还是不能解决问题。

后来在一个博客上找到了解决办法:
原来android studio有两个启动程序
在Android Studio/bin 下
studio.exe studio64.exe
我运行studio.exe就没报错,前者对应32位jdk,后者是64位jdk。

0 0
原创粉丝点击