OH3 installation... Service fails to start - cannot create Java Virtual Machine

@hmerk You are my hero today! :beers:
Yes, the modifications to the openhab-wrapper.config recommended here Starting openHAB as a Service for openHAB 3.0.0.M1
are the ones allowing the service to run fine with Windows.

@rlkoshak there are therefore two major changes required in the page of the installation steps for windows to make OH3 work in Windows.

  • The note about the JAVA_PATH to be set to the Zulu installation folder (*) (here) and, most important,
  • the text in the section describing the change to the openhab-wrapper.conf has to be updated as indicated in the post linked above(here).

Not sure who should officially take in charge this. It’s not cosmetics.


(*) keeping in mind your remark of different JAVA environment which sometimes are required to run on the same machine, I am not sure if a OH_JAVA_PATH should be defined instead, cascading the change to the .conf files using that environment variable

1 Like