[SOLVED] Strange error on startup

Hello all,

I would like to try openhab 2 nut when i click on “start.bat” (I’m on windows 10) I found this error:

karaf.bat: Ignoring predefined value for KARAF_HOME
Could not resolve mvn:org.eclipse.tycho/org.eclipse.osgi/3.10.101.v20150820-1432

How I can solve it?

Hello, on Win10 you need to do 3 things before you can click on start.bat:
1: Install Java JDK
2: Environmental variables need to be updated like this:
3: Edit the file ‘conf/services/addons.cfg’. Uncomment the line package= and set it to demo:

Did you do all of these?

Hi Mage,

Yes, I try “Java SE Development Kit 8u111” 64 and 32 bit, changing environment variable “JAVA_HOME” in C:\Progra~1\Java\jdk1.8.0_111 and C:\Progra~2\Java\jdk1.8.0_111

Now when I click on start.bat I see only:

Launching the openHAB runtime...
karaf.bat: Ignoring predefined value for KARAF_HOME

If I open http://localhost:8080 nothing respond.

I try with different port raplacing 8080 with 8090 in setenv.bat but i have the same error.

My Pc is win 10 home.

Did you do this step also?
Btw, I am getting the same error but it starts. It takes time:

Launching the openHAB runtime…
karaf.bat: Ignoring predefined value for KARAF_HOME

                      __  _____    ____

____ ____ ___ ____ / / / / | / __ )
/ __ / __ / _ / __ / // / /| | / __ |
/ /
/ / // / __/ / / / __ / ___ |/ // /
_/ ./_// /// /// |/_____/
/_/ 2.0.0-SNAPSHOT
Build #694

Hit ‘’ for a list of available commands
and ‘[cmd] --help’ for help on a specific command.
Hit ‘’ or type ‘system:shutdown’ or ‘logout’ to shutdown openHAB.


Hi Mage,

yes I did but it don’t work.

All ok… Now it work fine.

I’m ready for start project for my new home!

What was the problem?

Sorry if I haven’t explain before. I think that i executed for the first time “start.bat” file in one folder, and after I have move all openhab folder in other path. Downloading openhab in one folder and starting directly in this one all work fine.

I’m sorry, I didn’t get what you you did to get rid of the error. Can you please explain in more details?