[
https://issues.apache.org/jira/browse/KARAF-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451200#comment-13451200
]
Dan Tran commented on KARAF-1695:
---------------------------------
a fix would be scan for the existing server or client dll and act upon it for
windows script
> 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