I was able to solve it following this post.
Summary of steps taken:
-
step1 - Downloaded the habmin jar file from here
-
step2 - Created a directory, and placed the habmin jar file in it
mkdir -p /home/avner/openhab2-master2/ws/tmp1
ll /home/avner/openhab2-master2/ws/tmp1
...
-rw-rw-r-- 1 avner avner 4193121 Nov 23 00:49 org.openhab.ui.habmin_0.1.6.jar
- step3 - Followed the instructions in here to add the jar file to the project.
Window -> Prefernces -> Plug-in Development -> Target Platform
selected openHAB Target Platform (Active) - /launch/openhab.target
Selected Edit -> (Locations tab) -> Add -> Directory, and added /home/avner/openhab2-master2/ws/tmp1 where I placed the jar file.
Verified that the jar file is added to the list of locations like so
- step4 - Used the instructions in here to setup and execute openhab from eclipse, by right-clicking on openHAB_Runtime.launch “Run as > openHAB_Runtime”
After that I can see, as expected:
- Messages in the Console pane, indicating that the program is running
- http://localhost:8080 responds
- http://localhost:8080/habmin/index.html#/home reponds as well
List item