Please Help,
I am trying to run a compiled java class and getting errors but when I try to check my java environments it points different ways as seen below
In the PATH variable enter C:\Program Files (x86)\Java\jdk1.6.0_25\bin
before the path of system32.
It fixed my problem
Just make sure java's path is the first path in the "PATH" environment variable