[
https://issues.apache.org/jira/browse/KARAF-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426156#comment-13426156
]
Dan Tran commented on KARAF-1695:
---------------------------------
initial discussion is at
http://karaf.922171.n3.nabble.com/Why-is-JDK-required-for-running-Karaf-td4025391.html
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira