Showing JAVA_HOME is set set to an invalid path when running futter doctor --android-licenses

143 views
Skip to first unread message

Prajjwal Agrahari

unread,
Jun 23, 2021, 3:44:57 AM6/23/21
to Flutter Development (flutter-dev)
Hello Everyone, 
I am new to flutter, and I am trying to install flutter, and When I am running the flutter doctor command, it showing me the following error,
sa.png
and as it is suggesting me to run flutter doctor --android licenses, it is showing me the error JAVA_HOME is set to an invalid directory.
11.png

as you can seem, the Java Home path is set to JDK 14 folder, still it is showing me the error.

Please help me to solve this error, if you have any idea about it.

Thank You

wiracle

unread,
Jun 23, 2021, 8:48:42 AM6/23/21
to Prajjwal Agrahari, Flutter Development (flutter-dev)
That ; at the end looks suspicious. Is it a system or user variable?
Reply all
Reply to author
Forward
0 new messages