cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-9971) Cordova outputs "Picked up _JAVA_OPTIONS" in stderr
Date Wed, 21 Jun 2017 12:11:00 GMT


ASF GitHub Bot commented on CB-9971:

GitHub user matrosov-nikita opened a pull request:

    Suppress line 'Picked up _JAVA_OPTIONS' from stderr

    Please make sure the checklist boxes are all checked before submitting the PR. The checklist
    is intended as a quick reference, for complete details please see our Contributor Guidelines:
    ### Platforms affected
    ### What does this PR do?
    If `_JAVA_OPTIONS` variable is defined, cordova outputs `Picked up _JAVA_OPTIONS: -Xmx512M`
to stderr, it's interpreted to be an error, but actually, it's not an error. We should suppress
this line for `runGradleWrapper` similar to `build`(
    ### What testing has been done on this change?
    fix auto-test for GradleBuilder logic
    ### Checklist
    - [ ] [Reported an issue]( in the JIRA
    - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file
paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
    - [ ] Added automated test coverage as appropriate for this change.

You can merge this pull request into a Git repository by running:

    $ git pull suppress-java-unwanted-info

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #388
commit 0013df243e8de5aa869b433562967fa80d041092
Author: Nikita Matrosov <>
Date:   2017-06-20T07:21:39Z

    Suppress line 'Picked up _JAVA_OPTIONS' in stderr


> Cordova outputs "Picked up _JAVA_OPTIONS" in stderr
> ---------------------------------------------------
>                 Key: CB-9971
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android
>    Affects Versions: 5.0.0
>         Environment: Windows, Tools for Apache Cordova in Visual Studio
> Cordova 5.4.0
>            Reporter: Michael Braude
>            Assignee: Vladimir Kotikov
>            Priority: Critical
>              Labels: easyfix, windows,
>   Original Estimate: 2h
>  Remaining Estimate: 2h
> 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:
> 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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message