Somehow it seems that my windows 7 cmd prompt is only working correct sporadically. If I open a new cmd I can nearly always execute applications within PATH (sometimes this doesn't work either). But after a few executions the command which worked previously stops working and cmd is telling me:
The command "java.exe" is misspelled or couldn't be found (translated from german)
After opening a new cmd, the problem is gone. Can someone explain why this happens and how I can solve this?