JAVA_HOME is set to an invalid directory:
I have set JAVA_HOME in my system C:\Program Files\Java\jdk1.8.0_ 131\bin; and I am trying to run cordova command( cordova build ) on command prompt, but I’m getting the error bellow. I have tried all the ways, but not able to resolve this issue: ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk1.8.0_ 131\bin; I … Read more