Closed Jackimaru96 closed 5 years ago
@Jackimaru96 I am guessing your JAVA_HOME made the difference?
Will close the issue.
Sometimes you need to restart the computer or log in and log out in order for environment variable changes to take effect on Windows.
I tried to run![image](https://user-images.githubusercontent.com/29891801/54213694-c9981200-451f-11e9-9860-f4c4ff14b1c6.png)
gradlew checkStyleMain
on terminal in Intellij, this was the error message that came out:I've tried this solution, setting JAVA_HOME in Path variables but that didn't work as well.
Any ideas?
EDIT: Somehow it works now; btw I'm using Windows
Here are the things that I did (not sure what actually triggered it to become successful)
Invalidate caches / Restart
under File