java – Android Studio – JAVA_HOME doesnt point to a valid JVM installation

java – Android Studio – JAVA_HOME doesnt point to a valid JVM installation

You can try this
Android Studio error: Environment variable does not point to a valid JVM instalation

this works for me.
If you start 64bit Android Studio, you have to add JAVA_HOME as

C:Program FilesJavajdk...

If 32bit

C:Program Files(x86)Javajdk...

and dont put bin end of the path.

As you told you have 64 bit system then copy this path C:Program FilesJavajdk1.8.0_31

Step 1 :- Create JAVA_HOME variable by clicking new and past ( C:Program FilesJavajdk1.8.0_31) this path.

Step 2 Then click path variable and edit then past it your path after add semicolon (;) C:Program FilesJavajdk1.8.0_31

enter

I am using windows 10 so this windows look like this

enter

Note :- If above dialog not open then
, select path variable and click on Edit…. Locate the end of the current variable value
append the path of jdk, using a semicolon And click ok

java – Android Studio – JAVA_HOME doesnt point to a valid JVM installation

To fix it, just remove bin from my JAVA_HOME variable.

NOTE: 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.

Leave a Reply

Your email address will not be published. Required fields are marked *