Reputation: 175
i read a lot about this problem , still can't figure out what is im doing wrong ?
this is a picture of my settings :
any idea ?
Update : [ As you see in the picture , im using java 8
, is it wrong ? ]
Upvotes: 4
Views: 21733
Reputation: 23
Try Searching with windows where the jdk is, then target your system variable to that location.. hope this help
Upvotes: 2
Reputation: 2108
Your environment variables dialog shows you have a variable called JDK_HOME
listed, whereas the error message is telling you to call it JAVA_HOME
.
You are also using a version of Java that isn't compatible with Android. You'll need to use Java 6 or 7 instead. The latest Java 7 release can be found here.
Upvotes: 5