原创, 安卓Android Studio, JAVA
解决The environment variable JAVA_HOME does not point to a valid JVM installationSolution of The environment variable JAVA_HOME does not point to a valid JVM installation
- by chenxue4076
- 11 years ago
安装 Android Studio 和 JDK 之后, 打开 android studio 提示: The environment variable JAVA_HOME (with the values of D:\Program Files\Java\jdk1.8.0_05;) does not point to a valid JVM installation.
需要查看以下信息是否正确配置:
JAVA_HOME :需要指向正确的JDK位置, 如 D:\Program Files\Java\jdk1.8.0_05, 需要注意的是 不要再路径后面带“;”,
新增或编辑 CLASSPATH 配置为 .;%JAVA_HOME%\lib;
After installed Android Studio and JDK, open android studio ,it shows The environment variable JAVA_HOME (with the values of D:\Program Files\Java\jdk1.8.0_05;) does not point to a valid JVM installation.
Check these configs:
JAVA_HOME: Config it to the JDK location, example D:\Program Files\Java\jdk1.8.0_05,Note: it should be end without “;“.
Edit or add CLASSPATH Config it to .;%JAVA_HOME%\lib;
(27244)