<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><span style="background-color: rgb(255, 255, 255); ">Interesting. Could it be the 64 bit windows file system virtualization that slow down cygwin so much</span><span style="background-color: rgb(255, 255, 255); "> </span><span style="background-color: rgb(255, 255, 255); font-size: 12pt; ">on 64-bit windows? Are other 32 bit applications as slow?</span><div style="background-color: rgb(255, 255, 255); "><br></div><div style="background-color: rgb(255, 255, 255); ">//Fredrik</div><div style="background-color: rgb(255, 255, 255); "><br></div>----- peter.brunet@oracle.com skrev:
<br>> 
  

    
  
  <div>
    I think I found the answer here:<br>> 
<a 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/" target="_blank">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 class="moz-txt-link-rfc2396E" href="mailto:peter.brunet@oracle.com" target="_blank"><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" target="_blank">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" target="_blank"><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>
  </div>

</div></body></html>