java - gradlew.bat invalid directory in android studio -


how address following error?

error: java_home set invalid directory: c:\program files\java\jdk1.7.0_67\bin; 

please set java_home variable in environment match location of java installation.

i've been researching hours today haven't been able find solution works me. java_home set c:\program files\java\jdk1.7.0_67;

i tried setting java_home c:\progra~2\java\jdk1.7.67; per advise of different thread gradle still throwing same error in android studio.

does have idea might going wrong right now?

you need remove bin end of java_home variable. if android studio still gives same error, close , restart it. if still same error, restart machine.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -