简体   繁体   中英

android studio - with open this message apper

The environment variable JAVA_HOME (with the value of c:\\Program Files\\Java\\jdk1.8.0_20 ) does not point to a valid JVM installation.

Someone can help me?

edit your environment variable JAVA_HOME to C:\\Program Files\\Java\\jdk1.8.0_20\\bin; Restart your computer.

  • Go to Environment variable.
  • Go to User variable and check if there is JAVA_HOME variable.
  • If yes please delete the JAVA_HOME variable for User variable
  • Go to System variables.
  • See if there is JAVA_HOME variable is added or not.
  • If there no JAVA_HOME variable please add new system variable.
  • Click on New and enter Variable Name = JAVA_HOME and Variable value = "C:\\Program Files\\Java\\jdk1.8.0_20"
  • And Save the settings.

This setting will solve the above problem.

Thanks

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM