[
https://issues.apache.org/jira/browse/KARAF-2315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14071522#comment-14071522
]
Jean-Baptiste Onofré commented on KARAF-2315:
---------------------------------------------
Fixed on karaf-3.0.x:
https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=cae90171c9c04fee7bc0d435e857bfbb6d7db483
> The check for jvm.dll happens to early in the bat file
> ------------------------------------------------------
>
> Key: KARAF-2315
> URL: https://issues.apache.org/jira/browse/KARAF-2315
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 2.3.2, 2.4.0, 3.0.0
> Reporter: Heath Kesler
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Fix For: 2.4.0, 4.0.0, 3.0.2, 2.3.6
>
>
> When running karaf without JAVA_HOME set, but having the JDK installed
> returns the following warning:
> WARNING: Running karaf on a Java HotSpot Client VM because server-mode is not
> av
> ailable.
> Install Java Developer Kit to fix this.
> For more details see
> http://java.sun.com/products/hotspot/whitepaper.html#client
> But since the JDK is installed and found via a reg query, karaf will still
> startup. I think this check should be moved to after the JAVA_HOME
> validation is done to avoid this warning.
--
This message was sent by Atlassian JIRA
(v6.2#6252)