In windows 7
path को edit करो और जो लिखा हो उसके आगे अपने java के BIN folder की location का address type कर दे .
Just edit the path file in environment variable and type your path of java bin folder.
in windows 8
इसमें में भी आपको ये ही करना है
Just do same thing like windows 7
in windows 10
इसमें मैंने आपको करके बताया है .
Just go to the path file and click on new and add c:\java\jdk1,8.0\bin
or your java path location