Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E46D3113D8 for ; Thu, 25 Sep 2014 01:21:33 +0000 (UTC) Received: (qmail 93630 invoked by uid 500); 25 Sep 2014 01:21:33 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 93606 invoked by uid 500); 25 Sep 2014 01:21:33 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 93595 invoked by uid 99); 25 Sep 2014 01:21:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Sep 2014 01:21:33 +0000 Date: Thu, 25 Sep 2014 01:21:33 +0000 (UTC) From: "Ryan Willoughby (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-7634) create should not fail when JAVA_HOME is not set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ryan Willoughby created CB-7634: ----------------------------------- Summary: 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 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)