Hi guys i am having problems with android studio showing me this error 

Failed to create JVM: error code -1.
JVM Path: C:\Program Files\Android\Android Studio|jre|jre
if you already have a 64-bit JDK installed, define a JAVA_HOME variable in 
.........

but i did already 

in Environment Variables 

i created 

in User Variables 

JAVA_HOME      C:\Program Files\Java\jdk1.8.0_111

in System Variables

path

C:\Program Files\Java\jdk1.8.0_111\bin
C:\Program Files\Java\jre1.8.0_111\bin
%JAVA_HOME%\bin


can any body please tell me how to fix this issue 

what i am doing wrong 

when i do the test on cmd

javac - version i get

1.8.0_111

when i do

java -version 

java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

so supposedly is suppose to work but .....:(















<https://lh3.googleusercontent.com/-c1pLnEB8Uto/WCUvwmAsxiI/AAAAAAAAA4Q/ouOPBur8l7Ua5hdd6zcUvfyE8q2pNwtuwCLcB/s1600/error.png>





-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/defd8f21-6f5d-4d98-b379-193aea0f7ced%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to