nus-cs2103-AY1819S2 / forum

CS2103/T discussion forum
6 stars 1 forks source link

`gradlew checkStyleMain` :compileJava error #54

Closed Jackimaru96 closed 5 years ago

Jackimaru96 commented 5 years ago

I tried to run gradlew checkStyleMain on terminal in Intellij, this was the error message that came out: image

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)

okkhoy commented 5 years ago

@Jackimaru96 I am guessing your JAVA_HOME made the difference?

Will close the issue.

pyokagan commented 5 years ago

Sometimes you need to restart the computer or log in and log out in order for environment variable changes to take effect on Windows.