Installing Android Studio, does not point to a valid JVM installation error

前端 未结 18 1286
南旧
南旧 2021-01-30 10:15

I just downloaded the Android Studio. While trying to run it, I had to modify the environment variable and add

JAVA_HOME

and

<
相关标签:
18条回答
  • 2021-01-30 10:45

    Recently I am working with the 1.8.0_25 JDK version on Windows 8.1 and I had the same problem with this. But as PankaJ Jakhar said

    The real solution for me was pretty simple:

    1. Add the JAVA_HOME variable to the system ones, not on the user ones.
    2. The path I introduced for this variable was:

      C:\Program Files\Java\jdk1.8.0_25\
      

    And it works for me!

    0 讨论(0)
  • 2021-01-30 10:46

    Follow @abs solution

    If you still continue to get the error even after setting the JAVA_HOME variable Copy the studio folder to your C drive and then run the studio.exe or studio64.exe depending upon your java versio

    0 讨论(0)
  • 2021-01-30 10:49

    i think you are doing every thing fine just remove ";" from the last of java_home variable. every thing will work fine.

    0 讨论(0)
  • 2021-01-30 10:51

    Point your JAVA_HOME variable to C:\Program Files\Java\jdk1.8.0_xx\ where "xx" is the update number (make sure this matches your actual directory name). Do not include bin\javaw.exe in the pathname.

    NOTE: You can access the Environment Variables GUI from the CLI by entering rundll32 sysdm.cpl,EditEnvironmentVariables. Be sure to put the 'JAVA_HOME' path variable in the System variables rather than the user variables. If the path variable is in User the Android Studio will not find the path.

    0 讨论(0)
  • 2021-01-30 10:52

    It is absolutely possible that all other answers work for people but for me this path worked:

    Leave your JDK path under JAVA_HOME System Variable as it is given here. Do not append bin or another path. It worked for me.

    C:\Program Files\Java\jdk1.8.0_11\
    

    Otherwise I am getting this error:

    Installing Android Studio, does not point to a valid JVM installation error
    
    0 讨论(0)
  • 2021-01-30 10:52

    2 suggested solutions

    1. Upgrade JDK to 1.7

    2. Make sure the 32-bit or 64 bit versions match on both sides

    0 讨论(0)
提交回复
热议问题