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

Heath Kesler updated KARAF-2315:
--------------------------------

    Description: 
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.


  was:
When running karaf without JAVA_HOME set, but having the JDK installed returns 
the following error:

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 error.


    
> 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
>            Priority: Minor
>             Fix For: 2.3.2, 2.4.0, 3.0.0, 3.1.0
>
>
> 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 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

Reply via email to