gradle process command java finished with non-zero exit value 1

This was my original error message:

enter image description here

Changing my %JAVA_HOME% in Window’s Environmental Variables from Java 9 (file directory C:\Program Files\Java\jdk-9.0.1) to Java 8 (C:\Program Files\Java\jdk1.8.0_151) was what fixed it for me. You can figure out what path you set %JAVA_HOME% to by typing echo %JAVA_HOME% in Command Prompt.

So yea, as of 12-20-2017, gradle bootRun doesn’t play well with Java 9. Hopefully that will be fixed soon and I can delete this answer.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)