<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Should the 64 bit Win installer also install the 32 bit program? If
not it would be good to put a warning on download page.<br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject: </th>
<td>Fwd: java -version different on Win vs Cygwin</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
<td>Thu, 22 Mar 2012 09:49:43 -0500</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
<td>Pete Brunet <a class="moz-txt-link-rfc2396E" href="mailto:peter.brunet@oracle.com"><peter.brunet@oracle.com></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Reply-To:
</th>
<td><a class="moz-txt-link-abbreviated" href="mailto:peter.brunet@oracle.com">peter.brunet@oracle.com</a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
<td>build-dev <a class="moz-txt-link-rfc2396E" href="mailto:build-dev@openjdk.java.net"><build-dev@openjdk.java.net></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
I think I found the answer here:<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.curlybrace.com/words/2010/12/17/console-and-cygwin-dont-show-all-files-on-64-bit-windows/">http://www.curlybrace.com/words/2010/12/17/console-and-cygwin-dont-show-all-files-on-64-bit-windows/</a><br>
<br>
Quote: <br>
This is because Cygwin bash and Console are 32-bit applications, and
I’m running 64-bit Windows. With filesystem virtualization on
Windows, when a 32-bit process attempts to access
%SYSTEMROOT%\System32, it is redirected to %SYSTEMROOT%\SYSWOW64.
Ironically named, System32 contains 64-bit applications, while
SYSWOW64 contains 32-bit applications.<br>
<br>
These give the same version:<br>
Win 7 DOS prompt: \Windows\SysWOW64\java -version<br>
Cygwin prompt: /cygdrive/c/Windows/System32/java -version<br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject: </th>
<td>java -version different on Win vs Cygwin</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
<td>Thu, 22 Mar 2012 09:30:45 -0500</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
<td>Pete Brunet <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:peter.brunet@oracle.com"><peter.brunet@oracle.com></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Reply-To:
</th>
<td><a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:peter.brunet@oracle.com">peter.brunet@oracle.com</a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
<td>build-dev <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:build-dev@openjdk.java.net"><build-dev@openjdk.java.net></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>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?
</pre>
</body>
</html>