java -version different on Win vs Cygwin

Pete Brunet peter.brunet at oracle.com
Thu Mar 22 14:30:45 UTC 2012


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?



More information about the build-dev mailing list