Hi,
Been trying for three days to get OH2 working, without success. Have checked the forum and web searched, but no luck. I have followed the instructions and installed a clean build twice.
It’s a new installation on windows 10, following the software / UI load , I did an install and got the following;
Event.log
2017-09-19 07:24:19.290 [ExtensionEvent ] - Extension ‘package-standard’ has been installed.
2017-09-19 07:24:36.492 [ExtensionEvent ] - Extension ‘ui-basic’ has been installed.
2017-09-19 07:24:36.565 [ExtensionEvent ] - Extension ‘ui-habpanel’ has been installed.
2017-09-19 07:24:36.637 [ExtensionEvent ] - Extension ‘ui-paper’ has been installed.
Install
C:\Windows\System32>C:\openHAB2\userdata\bin\openHAB2-service.bat install
wrapper | openHAB2 installed.
C:\Windows\System32>net start "openHAB2"
The openHAB2 service is starting.
The openHAB2 service could not be started.
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
C:>
Check Sys Variable
C:>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.8.0_144\
C:>
Check wrapper.conf
#*******************************************************
openHAB2-wrapper.conf for Windows Service Installation
#*******************************************************
openHAB installation dir (Adapt this first setting to your system)
set.default.OPENHAB_HOME=C:\openHAB2
C:\openHAB2\userdata\logs\wrapper.log
STATUS | wrapper | 2017/09/19 07:38:49 | openHAB2 installed.
STATUS | wrapper | 2017/09/19 07:39:10 | --> Wrapper Started as Service
STATUS | wrapper | 2017/09/19 07:39:11 | Launching a JVM…
FATAL | wrapper | 2017/09/19 07:39:11 | Unable to execute Java command. The system cannot find the file specified. (0x2)
FATAL | wrapper | 2017/09/19 07:39:11 | “%JAVA_HOME%\bin\java” -Dkaraf.home=“C:\openHAB2\runtime” -Dkaraf.base=“C:\openHAB2\userdata” -Dkaraf.data=“C:\openHAB2\userdata” -Dkaraf.etc=“C:\openHAB2\userdata\etc” -Dcom.sun.management.jmxremote -Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -Djava.endorsed.dirs="%JAVA_HOME%\jre\lib\endorsed;%JAVA_HOME%\lib\endorsed;C:\openHAB2\runtime\lib\endorsed" -Djava.ext.dirs="%JAVA_HOME%\jre\lib\ext;%JAVA_HOME%\lib\ext;C:\openHAB2\runtime\lib\ext" -Dopenhab.home=“C:\openHAB2” -Dopenhab.conf=“C:\openHAB2\conf” -Dopenhab.runtime=“C:\openHAB2\runtime” -Dopenhab.userdata=“C:\openHAB2\userdata” -Dopenhab.logdir=“C:\openHAB2\userdata\logs” -Dfelix.cm.dir=“C:\openHAB2\userdata\config” -Dorg.osgi.service.http.port=8080 -Dorg.osgi.service.http.port.secure=8443 -Xmx512m -Djava.library.path=“C:\openHAB2\userdata\lib\wrapper\” -classpath “C:\openHAB2\runtime\lib\boot\org.apache.karaf.diagnostic.boot-4.0.8.jar;C:\openHAB2\runtime\lib\boot\org.apache.karaf.jaas.boot-4.0.8.jar;C:\openHAB2\runtime\lib\boot\org.apache.karaf.main-4.0.8.jar;C:\openHAB2\runtime\lib\boot\org.osgi.core-6.0.0.jar;C:\openHAB2\userdata\lib\wrapper\karaf-wrapper-main.jar;C:\openHAB2\userdata\lib\wrapper\karaf-wrapper.jar” -Dwrapper.key=“u_BmiKk32mIMqZda” -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=2472 -Dwrapper.version=“3.2.3” -Dwrapper.native_library=“wrapper” -Dwrapper.service=“TRUE” -Dwrapper.cpu.timeout=“10” -Dwrapper.jvmid=1 org.apache.karaf.wrapper.internal.service.Main
FATAL | wrapper | 2017/09/19 07:39:11 | Critical error: wait for JVM process failed
Any help would be appreciated, thanks
Kevin