Issue
This issue is driving me crazy, guys. Take a look.
I have downloaded and unzipped maven 3.6.3 on my Program Files folder, I set the environment variables properly, I think, but when I try to run:
As you can see in the following pictures, my JAVA_HOME is set right as it should be, pointing to a JDK 11:
I had no problem using that JDK until now for eclipse and maven inside eclipse. I've reinstalled Java already, reboot several times, but nothing seems to fix
Solution
My system had some misconfiguration and I cant understand why. But to solve the problem I deleted the jdk folder, removed java from official uninstaller, donwloaded and installed OpenJDK 11 from this link and the problem was solved, maven now works:
Thank you guys for your help!
Answered By - CleitonCardoso
Answer Checked By - Timothy Miller (JavaFixing Admin)