Android Studio 错误:“环境变量未指向有效的 JVM 安装"
尝试在我的计算机上运行 Android Studio 时,我收到以下错误:
<块引用>环境变量 JAVA_HOME(值为 C:Program Files(x86)Javajdk1.7.0_51in)未指向有效的 JVM 安装
我试图删除 JAVA_HOME
环境变量上的 in
扩展,但它给了我以下错误:
未找到 JVM.请安装 64 位 JDK.如果您已经安装了 JDK,请在计算机 > 系统属性 > 系统设置 > 环境变量中定义一个 JAVA_HOME 变量
- 我的系统: Windows 8.1 Update 1 x64(64 位)
- Java 目录: C:Program Files (x86)Javajdk1.7.0_51in
按照这个步骤一步一步做
When trying to run Android Studio on my computer, I get the following error:
The Environment variable JAVA_HOME (with a value of C:Program Files(x86)Javajdk1.7.0_51in) does not point to a valid JVM installation
I tried to remove the in
extension on my JAVA_HOME
environment variable, but it gives me the following error:
No JVM Found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > Environment Variables
- My System: Windows 8.1 Update 1 x64 (64 bit)
- Java Directory: C:Program Files (x86)Javajdk1.7.0_51in
Do step by step as shown in this YouTube Video
Go to: System -> Advanced system settings -> Environment Variables
Add a new variable to you profile NAME=JAVA_HOME
STRING: Program Files/java/"your string"
Save and Start Android Studio ;)
相关文章