karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Gritschenberger (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-1695) startup fails on Windows with only JRE installed
Date Mon, 10 Sep 2012 12:15:07 GMT

     [ https://issues.apache.org/jira/browse/KARAF-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christoph Gritschenberger updated KARAF-1695:
---------------------------------------------

    Attachment: jre-windows-client.patch

This patch make the startup-script fallback to client-mode if server-mode is not available.

Tested under
WinXP 32bit (German)
and Win7 64bit (English)
                
> 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
>         Attachments: jre-windows-client.patch
>
>
> 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

Mime
View raw message