I have this problem. how to resolve it? please, help me

image

You have to include JAVA_HOME in your Path variables. Here’s a tutorial on how to do that.

As a side note: this error may also occur when JAVA_HOME points to a jre installation instead of a jdk installation.

2 Likes