[ 
https://issues.apache.org/jira/browse/CB-7634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14151716#comment-14151716
 ] 

ASF subversion and git services commented on CB-7634:
-----------------------------------------------------

Commit e31c911c3056f06ed936a40c27f5723d97ed4692 in cordova-android's branch 
refs/heads/4.0.x from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=e31c911 ]

CB-7634 Detect JAVA_HOME properly on Ubuntu


> create should not fail when JAVA_HOME is not set
> ------------------------------------------------
>
>                 Key: CB-7634
>                 URL: https://issues.apache.org/jira/browse/CB-7634
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CLI
>    Affects Versions: 3.6.3
>            Reporter: Ryan Willoughby
>            Assignee: Andrew Grieve
>              Labels: android, cli, create
>
> the android create script errors out if JAVA_HOME is not set, and the script 
> cannot derive it. But if the javac binary is resolvable (i.e. in the users 
> PATH), then setting JAVA_HOME is unnecessary. Don't force users to set it.
> Error message:
> Could not find JAVA_HOME. Try setting the environment variable manually



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to