Gradle-v error: Error: Java_home is set to an invalid Directory :C:\Java\jdk1.8.0_05
please set the java_home variable in you environment to match the location of your java installation.
On the Internet turned over again, some people said more than a semicolon, some people said to change this change that, I erase, others try it, My zha change is not in, is really angry evil old man!
Look at the picture first:
But when I looked up, My eyes were fixed on it!
Vonema, how did you automatically leave out the “Program Files “?
Then Windows+R, CMD, gradle-V, and sure enough! Problem solved smoothly!!
please set the java_home variable in you environment to match the location of your java installation.
On the Internet turned over again, some people said more than a semicolon, some people said to change this change that, I erase, others try it, My zha change is not in, is really angry evil old man!
Look at the picture first:
But when I looked up, My eyes were fixed on it!
Vonema, how did you automatically leave out the “Program Files “?
Then Windows+R, CMD, gradle-V, and sure enough! Problem solved smoothly!!