I get different versions when I do the following. Why? Win 7 DOS prompt: \Windows\System32\java -version Cygwin prompt: /cygdrive/c/Windows/System32/java -version Is that java.exe a stub that routes to a different java.exe? How do I control which java is activated?