Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4582D11461 for ; Fri, 5 Sep 2014 06:38:38 +0000 (UTC) Received: (qmail 1743 invoked by uid 500); 5 Sep 2014 06:38:37 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 1695 invoked by uid 500); 5 Sep 2014 06:38:37 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 1684 invoked by uid 99); 5 Sep 2014 06:38:37 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2014 06:38:37 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 53481A098E7; Fri, 5 Sep 2014 06:38:37 +0000 (UTC) From: karuturi To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org References: In-Reply-To: Subject: [GitHub] cloudstack pull request: Fix CLOUDSTACK-7476: always pass along $J... Content-Type: text/plain Message-Id: <20140905063837.53481A098E7@tyr.zones.apache.org> Date: Fri, 5 Sep 2014 06:38:37 +0000 (UTC) Github user karuturi commented on the pull request: https://github.com/apache/cloudstack/pull/15#issuecomment-54590261 If JAVA_HOME is not set, setJavaHome()(cloud-usage.rc:49) method is trying to find it from default java available using something like `JAVA_HOME=$(dirname $(dirname $(readlink -e $(which java)))) ` and exits if couldn't find anything. wouldn't that work in this case? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---