Error: JAVA_HOME is set to invalid directory.Please set the JAVA_HOME variable in your environment to match the location of Java environment

This Errors is posted by deebidove1 at 7/13/2020 12:39:48 PM

When i run command:flutter doctor --android-licenses I recieved this message. To resolve: Goto rightclick(This PC)->choose Properties-> select Advanced system settings -> Advanced(tab)->Environment Variables...-> user variables-> JAVA_HOME -> edit Remove' ; 'at end of the pointed location.Also ensure your directory is not till \bin. Eg:JAVA_HOME should have user variable like C:\Program Files\Java\jdk1.8.0_241

Tags:



0 Comments
Login to comment.
Recent Comments

Be the first to Comment. You can ask a Query or Share your toughts or Just say thanks.




© 2018 - Fluttercentral | Email to me - Seven.srikanth@gmail.com