OpenHAB 2 Installation on Windows

openHAB 2 on Windows

The following instructions will guide you through the process of setting up openHAB 2.

Prerequisites

First we need to Download and install the JAVA Development Kit (JDK or openJDK). Then add the JAVA_HOME System Environment Variable in Windows in the Control Panel:

System and Security ➡️ System ➡️ Advanced System Settings ➡️ Environment Variables ➡️ System Variables

Set JAVA_HOME

Open the Windows Control Panel, go to the Advanced System Settings and open the Environment Variables.

Set JAVA_HOME

Select to set a new System variable JAVA_HOME and point to your JAVA installation path (that might differ from the one shown below):

Set JAVA_HOME

Installation

Download the latest Windows Stable or Snapshot ZIP archive file for manual installation and unzip the file in your chosen directory (e.g. C:\openHAB2).

To start the server, launch the runtime by executing the script C:\openhab230\start.bat:

openhab2

Point your browser to http://localhost:8080. You should be looking at the openHAB package selection page:

openhab2