For every other StackOverflow question that\'s been asked about this, here, here, and here, I\'ve followed all the steps to resolve this issue, and none have worked.
I faced the same issue.. My mistake was I was taking the path till /bin/ and putting ; at last.
Correct is - JAVA_HOME=C:\Program Files\Java\jdk1.8.0_92
no /bin/ no ';'