Home > Net >  I can't run dart/flutter code due to this error. Any help? I
I can't run dart/flutter code due to this error. Any help? I

Time:02-23

Kotlin could not find the required JDK tools in the Java installation 'C:\Program Files\Java\jre1.8.0_291' used by Gradle. Make sure Gradle is running on a JDK, not JRE.

I am using Visual Studio Code.

CodePudding user response:

you can check it is already installed or not with executing

which java

command on terminal, then you can change your path on system environments.

CodePudding user response:

flutter doctor command gives you every dependency problem you might be missing

  • Related