It’s my first install on OpenHAB2 in UBUNTU 16.04, when I put the line
sudo systemctl start openhab2.service
sudo systemctl status openhab2.service
Than show this:
Process: 8816 ExecStop=/usr/share/openhab2/runtime/bin/stop (code=exited, status=127)
Process: 8750 ExecStart=/usr/share/openhab2/start.sh server (code=exited, status=127)
Main PID: 8750 (code=exited, status=127)
Someone can help me.
If you are running openJDK, try to switch to Oracle or Zulu JDK to see if it helps.
this guide is a bit old but it gives you some pointers.
remove openjdk and then install oracle jdk using apt-get method from a repository.
Thank you @Dim.
It seems it´s working.
good luck with your openHAB configs (items, sitemaps, things, links, etc, etc) now !
Follow the tutorials shared by Dim.