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 7D33DD1B5 for ; Sun, 9 Sep 2012 19:00:10 +0000 (UTC) Received: (qmail 35958 invoked by uid 500); 9 Sep 2012 19:00:10 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 35927 invoked by uid 500); 9 Sep 2012 19:00:10 -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 35653 invoked by uid 99); 9 Sep 2012 19:00:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Sep 2012 19:00:09 +0000 Date: Mon, 10 Sep 2012 06:00:09 +1100 (NCT) From: "Dan Tran (JIRA)" To: issues@karaf.apache.org Message-ID: <568475288.55915.1347217209838.JavaMail.jiratomcat@arcas> In-Reply-To: <1909013023.121273.1343740655037.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (KARAF-1695) startup fails on Windows with only JRE installed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451652#comment-13451652 ] Dan Tran commented on KARAF-1695: --------------------------------- since all jre distribution from all platforms have server mode, except windows x62 32 bit. So it is safe to remove '-server' option from DEFAULT_JAVA_OPTS="-server $DEFAULT_JAVA_OPTS -Dcom.sun.management.jmxremote" for both unix and windows karaf(.bat) scripts tested with my environment > startup fails on Windows with only JRE installed > ------------------------------------------------ > > Key: KARAF-1695 > URL: https://issues.apache.org/jira/browse/KARAF-1695 > Project: Karaf > Issue Type: Bug > Affects Versions: 2.2.8, 3.0.0 > Environment: Windows XP 32bit > Oracle Java Runtime Environment 7u5 > Reporter: Christoph Gritschenberger > > It fails with the error: > {code} > Error: missing `server' JVM at `C:\Program Files\Java\jre7\bin\server\jvm.dll'. > Please install or use the JRE or JDK that contains these missing components. > {code} > Possible workarounds: > a) Install Oracle JDK > b) modify the JAVA_OPTS: > {code} > set JAVA_OPTS=-Xmx512M > karaf.bat > {code} > The startup-script should contain special handling for JRE on windows and fallback to "-client" of "-server" is not available. -- 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