OpenHAB2 + Win10 64 bit

Hello All, I am a real beginner. I am trying to install OpenHAB2 on Win10 64 bit but doesnt seem to work. I am getting the following error message below. Can anyone help me?

C:\openHAB>start.bat
Launching the openHAB runtime…
ERROR: The system was unable to find the specified registry key or value.
ERROR: The system was unable to find the specified registry key or value.
ERROR: The system was unable to find the specified registry key or value.
ERROR: The system was unable to find the specified registry key or value.
Unable to retrieve JAVA_HOME from Registry
JAVA_HOME is not valid: ""
The system cannot find the batch label specified - END
karaf.bat: Ignoring predefined value for KARAF_HOME
karaf.bat: JAVA_HOME not set; results may vary
ERROR: The system was unable to find the specified registry key or value.
ERROR: The system was unable to find the specified registry key or value.
ERROR: The system was unable to find the specified registry key or value.
ERROR: The system was unable to find the specified registry key or value.
karaf.bat: Unable to retrieve JAVA_HOME from Registry
karaf.bat: JAVA_HOME is not valid: “”

regards,
Mage

1 Like

Worth a look here

Just a simple question: do you have an installed Java runtime on your machine?

Yes, I had JAVA installed. Basically, the JAVA_HOME Variable in Windows was missing which was linked by rossko57. Thanks.

See it, I hope this help the begineers

https://confluence.atlassian.com/doc/setting-the-java_home-variable-in-windows-8895.html