karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Pieber (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-1695) startup fails on Windows with only JRE installed
Date Thu, 20 Sep 2012 17:44:07 GMT

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

Andreas Pieber resolved KARAF-1695.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
                   2.3.0

Committed r1388128
        M       assemblies/features/framework/src/main/filtered-resources/resources/bin/karaf.bat
r1388128 = 2a67c132dbaa9c1902e7e90151a51889a0219bda (refs/remotes/origin/trunk)

Committed r1388129
        M       assemblies/apache-karaf/src/main/distribution/windows-text/bin/karaf.bat
r1388129 = dbbffa76024f5169b11edebe9f3d1f6ef3a76da5 (refs/remotes/origin/karaf-2.3.x)
                
> 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
>            Assignee: Andreas Pieber
>             Fix For: 2.3.0, 3.0.0
>
>         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