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

Cordova outputs "Picked up _JAVA_OPTIONS" in stderr

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 5.0.0
    • None
    • cordova-android
    • Windows, Tools for Apache Cordova in Visual Studio
      Cordova 5.4.0

    • 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

              vladimir.kotikov Vladimir Kotikov
              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