Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14139

Can't run android commands with 32bit Java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 8.0.0
    • None
    • cordova-android
    • None
    • Win 10 Pro x64

    Description

      GradleBuilder.js has a buiit-in option org.gradle.jvmargs=---Xmx2048m on line 59, which prevents it from running on 32bit Java. It always fails with VM heap error. The workaround is to create an environment variable _JAVA_OPTIONS=-Xmx512m, but this then affects the whole system.

       

      Attachments

        Activity

          People

            bowserj Joey Robert Bowser
            mistertTi misterTi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: