[
https://issues.apache.org/jira/browse/KARAF-7259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17425857#comment-17425857
]
ASF GitHub Bot commented on KARAF-7259:
---------------------------------------
jbonofre merged pull request #1443:
URL: https://github.com/apache/karaf/pull/1443
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> Karaf Server can't start if space in path (KARAF_HOME)
> ------------------------------------------------------
>
> Key: KARAF-7259
> URL: https://issues.apache.org/jira/browse/KARAF-7259
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.3.3
> Environment: Java 11
> 4.3.3
> Karaf is installed under eg. C:\Program Files\Karaf
> Reporter: annor
> Assignee: Jean-Baptiste Onofré
> Priority: Critical
> Fix For: 4.4.0, 4.3.4
>
>
> Recent commit in karaf.bat
> [https://github.com/apache/karaf/commit/33174f7c6980795de9829b42f98d8b9903948f6f]
> caused our Karaf can't start.
> If space in %KARAF_HOME% and Java Version > 8
> {code:java}
> WARNING: package org.apache.karaf.specs.locator not in java.base
> Error: Could not find or load main class Files\Karaf
> Caused by: java.lang.ClassNotFoundException: Files\Karaf{code}
> Solutions for us:
> {code}
> --patch-module
> java.base="%KARAF_HOME%\lib\endorsed\org.apache.karaf.specs.locator-4.3.3.jar"
> ^
> --patch-module
> java.xml="%KARAF_HOME%\lib\endorsed\org.apache.karaf.specs.java.xml-4.3.3.jar"
> ^
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)