ant bails with unrecognized -d32 option on Windows
--------------------------------------------------

                 Key: JRUBY-3995
                 URL: http://jira.codehaus.org/browse/JRUBY-3995
             Project: JRuby
          Issue Type: Bug
          Components: Windows
    Affects Versions: JRuby 1.4
         Environment: WinXP
            Reporter: Ian Dees
             Fix For: JRuby 1.4
         Attachments: ant-windows.patch

{{ant}} fails with the following error on Windows:

{noformat}
_gmc_internal_:
     [echo] Generating invokers...
     [java] Could not create the Java virtual machine.
     [java] Unrecognized option: -d32

BUILD FAILED
{noformat}

According to http://java.sun.com/docs/hotspot/HotSpotFAQ.html, Windows builds 
of Java don't allow the {{-d32}} / {{-d64}} options for choosing between the 
two different modes.

The attached patch, which skips using these two flags on Windows, solves the 
issue on my machine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to