openHAB version:
25.0 Snapshot build#1744
**Issue of the topic:
I am having config issues when trying to install OH as a service on my windows 10. I think that I have followed the written instructions to the best of my knowledge. I am sure I properly edits the wrapper config file.
Please post configurations (if applicable):
C:\WINDOWS\system32>C:\openHAB\userdata\bin\openHAB2-service.bat install
wrapper | Unable to set working directory to: %OPENHAB_HOME%\userdata (The system cannot find the path specified. (0x3))
Items configuration related to the issue
#*******************************************************
openHAB2-wrapper.conf for Windows Service Installation
C:\WINDOWS\system32>C:\OpenHAB2
‘C:\OpenHAB2’ is not recognized as an internal or external command,
operable program or batch file.
C:\WINDOWS\system32>C:\OpenHAB2
‘C:\OpenHAB2’ is not recognized as an internal or external command,
operable program or batch file.
C:\WINDOWS\system32>
I don’t get what I am doing wrong here. Can you or anyone else show me, I have read the instruction over 8 times and I am following it to the letter yet the outcome has been the same.
Actually I have never installed openHAB in Windows. When I started I setup a VirtualBox Linux VM on my Windows box.
Perhaps I can find some time to try.
JAVA_HOME is where your java install lives. Might be something like C:\Program Files\Java
OPENHAB_HOME is not the same as OPENHAB-HOME
It’s been a while since I installed OH on Windows. I recall just unzipping to C:\openhab2 and running start.bat. I did need to change the system variable for java home.
hey Ross , my bad for the confusion,. You are correct that OPENHAB_HOME is not the same as OPENHAB-HOME. The later was an error cause by frustration, I did write it out properly. That said you are also correct in the statement and notion that all you need to do is run the start.bat file for your initial run. That said I wanted to have OpenHAB2 run as a service on my computer. I was for that reason that I was taking this path. I would say It this point I will Bruce’s advice create a VM and install it there.
Hey guys I’m back but with a different issue related to install.
I have a vm running ubuntu installed on my windows 10 box. I am trying to install Openhabian. I got java setup and tried to run the install commands for Openhabian. this was the outcome :
sudo git clone https://github.com/openhab/openhabian.git /opt/openhabian
sudo: git: command not found.
I have painstakingly gone through and check that everything is written out correctly an I am not understanding what the issue could be.
Can you guys help out?
i am also on Linux, but without the windows release i would never got to know OH
but if you want to get serious i will recommend leaving windows before you get to involved, i can tell you that migration will be a pain in the future good luck