Install on RaspberryPi 2 Issue

I followed along with the Linux install guide here on OpenHab.org

I got to the point of run the command sudo systemctl start openhab2.service
After executing that command I went to grab coffee and toast. When I got back, I ran the next command sudo systemctl status openhab2.servic and this is what it returns.

pi@RaspberryPi:~ $ sudo systemctl status openhab2.service
● openhab2.service - openHAB 2 - empowering the smart home
   Loaded: loaded (/usr/lib/systemd/system/openhab2.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2017-11-25 08:22:58 CST; 10min ago
     Docs: http://docs.openhab.org
           https://community.openhab.org
  Process: 1709 ExecStop=/usr/share/openhab2/runtime/bin/stop (code=exited, status=127)
  Process: 1643 ExecStart=/usr/share/openhab2/start.sh server (code=exited, status=127)
 Main PID: 1643 (code=exited, status=127)

Nov 25 08:22:58 RaspberryPi systemd[1]: openhab2.service: Control process exited, code=exited status=127
Nov 25 08:22:58 RaspberryPi systemd[1]: openhab2.service: Unit entered failed state.
Nov 25 08:22:58 RaspberryPi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Nov 25 08:22:58 RaspberryPi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Nov 25 08:22:58 RaspberryPi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Nov 25 08:22:58 RaspberryPi systemd[1]: openhab2.service: Start request repeated too quickly.
Nov 25 08:22:58 RaspberryPi systemd[1]: Failed to start openHAB 2 - empowering the smart home.
Nov 25 08:22:58 RaspberryPi systemd[1]: openhab2.service: Unit entered failed state.
Nov 25 08:22:58 RaspberryPi systemd[1]: openhab2.service: Failed with result 'exit-code'.

I can not get openhab2 to start. :frowning:

Did you check whether you have the right java installed: http://docs.openhab.org/installation/index.html#prerequisites

There is also a special section on raspberry systems: http://docs.openhab.org/installation/rasppi.html

and ultimately, you may want to consider with going with openhabian, which takes on a lot of the installation work for users: http://docs.openhab.org/installation/openhabian.html