Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I define JAVA_HOME variable for Android Studio? [duplicate]

Tags:

java

android

This is the first error I faced:

No JVM installation found. Please install a 32-bit JDK. If you already have a JDK installed, define a JAVE_HIME variable in Computer > System Properties > System Setting > Environment Variables.

Then I set the JAVA_HOME variable:
Variable name: JAVA_HOME
Variable value: C:\Program Files\Java\jdk1.9.0

So I get another error:

Failed to create JVM: error code -6. JVM Path: C:\Program Files\Java\jdk1.9.0 If you already have a 32-bit JDK installed, define a JAVA_HOME variable in

What do I do next?

like image 327
cool Avatar asked Jun 30 '26 11:06

cool


1 Answers

After Settings restart your system enter image description here

like image 150
Wasiq Muhammad Avatar answered Jul 01 '26 23:07

Wasiq Muhammad



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!