Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-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 DE84FFAFF for ; Tue, 16 Apr 2013 19:39:16 +0000 (UTC) Received: (qmail 74718 invoked by uid 500); 16 Apr 2013 19:39:16 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 74668 invoked by uid 500); 16 Apr 2013 19:39:16 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 74494 invoked by uid 99); 16 Apr 2013 19:39:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2013 19:39:16 +0000 Date: Tue, 16 Apr 2013 19:39:16 +0000 (UTC) From: "Brian Emond (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (KARAF-2270) Service wrapper assumes java is on system path MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Brian Emond created KARAF-2270: ---------------------------------- Summary: Service wrapper assumes java is on system path Key: KARAF-2270 URL: https://issues.apache.org/jira/browse/KARAF-2270 Project: Karaf Issue Type: Bug Components: karaf-os-integration Affects Versions: 2.3.1 Environment: windows, linux Reporter: Brian Emond In the service wrapper conf file, the wrapper.java.command property points directly to java, and not to a fully qualified path to java. This assumes that java is on the system path, which it may not. The value should be: wrapper.java.command=%JAVA_HOME%/bin/java This ensures the wrapper is using the java executable established from setting the JAVA_HOME variable under the Wrapper Properties a few lines up in the conf file. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira