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

Can't run android commands with 32bit Java

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 8.0.0
    • Fix Version/s: None
    • Component/s: cordova-android
    • Labels:
      None
    • Environment:

      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

            • Assignee:
              bowserj Joey Robert Bowser
              Reporter:
              mistertTi misterTi

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment