I had installed JDK 10.0.1 on my pc with windows 10 and I tried to build an app with ionic Cordova build android --prod -- release
.
But I got the warning:
Requirements check failed for JDK 1.8 or greater.
I checked the environmental variables and they seem to be correct. What should I do?