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

Cordova outputs "Picked up _JAVA_OPTIONS" in stderr

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.0.0
    • Fix Version/s: None
    • Component/s: cordova-android
    • Labels:
    • Environment:

      Windows, Tools for Apache Cordova in Visual Studio
      Cordova 5.4.0

    • Flags:
      Important

      Description

      Starting with version 5.4.0, Cordova now outputs "Picked up _JAVA_OPTIONS: -Xmx512M" to stderr. This breaks clients such as Visual Studio because we interpret messages in stderr to be errors, and this is not an error. So the result is that we show deploy failures to the dev when there are no errors.

      See this for customer impact: http://stackoverflow.com/questions/33603167/vs2015-build-with-cordova-cli5-4-0-shows-deployment-errors

      We can work around this in Visual Studio by using special casing, but Cordova needs to output this in stdout like it did in previous versions

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vladimir.kotikov Vladimir Kotikov
                Reporter:
                mbraude Michael Braude
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified