-
-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
service-wrapper unable to handle spaces in Java path #830
Comments
I read a few days ago it's a known Karaf issue KARAF-5908 and fixed in Karaf 4.2.2. |
The instructions here: https://www.openhab.org/docs/installation/windows.html include double quotes for the Java Parameters but not for Wrapper Properties and Java Application. Maybe we should add them? I will test this also on a Win 10 system. Oh 2.4.0 Stable I assume? |
I've download http://www.apache.org/dyn/closer.lua/karaf/4.2.2/apache-karaf-4.2.2.zip |
I've tried all combinations of quotes and backslash in java_home |
Did you also give the new Karaf 4.2.2 based snapshot a try openhab-2.5.0-SNAPSHOT.zip? |
Just tried - still the same |
I just installed OpenHAB as a Windows Service following instructions (service-wrapper)
The wrapper.log file clearly indicates that service wrapper unable to handle spaces in path.
Java is installed by default in default location, so, it contains spaces.
STATUS | wrapper | 2018/12/21 22:18:20 | openHAB2 installed.
STATUS | wrapper | 2018/12/21 22:19:31 | --> Wrapper Started as Service
STATUS | wrapper | 2018/12/21 22:19:31 | Launching a JVM...
INFO | jvm 1 | 2018/12/21 22:19:31 | Error: Could not find or load main class Files\Java\jre1.8.0_191.jre.lib.endorsed;c:\Program
ERROR | wrapper | 2018/12/21 22:19:31 | JVM exited while loading the application.
The text was updated successfully, but these errors were encountered: