Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows start - running for first time in Windows - Will not install KARAF #148

Closed
rcehon opened this issue Feb 26, 2016 · 5 comments
Closed

Comments

@rcehon
Copy link

rcehon commented Feb 26, 2016

Hi,
I am new at openHAB, but I thought I would check out the beta version of v2 since it looked pretty cool. I am running this on a Windows 10 machine and it looks like there is an installation issue with Karaf.

c:\OpenHab\OpenHab2.0>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: 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: ""

@dvanherbergen
Copy link
Contributor

Can you post the results of the following commands?

java -version
echo %JAVA_HOME%

@rcehon
Copy link
Author

rcehon commented Feb 26, 2016

c:\OpenHab\OpenHab2.0>java -version
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) Client VM (build 25.73-b02, mixed mode, sharing)

c:\OpenHab\OpenHab2.0>echo %JAVA_HOME%
%JAVA_HOME%

@Nightshadow1258
Copy link

i am getting the same error on start up

@adamcooks
Copy link

adamcooks commented Apr 16, 2016

Hi, I had this error too - after reading this thread i installed the Java Developer Kit (JDK 8) and I was good to go.

@kaikreuzer
Copy link
Member

Ok, so this seems to be a duplicate of #56 - so I am closing it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants