Now tried it within Visual Studio Code with the “Run Task” and I get the same problem.
It is looping in “Restarting JVM” and again the same message but with a additional info:
Launching the openHAB runtime...
WARNING: Running Karaf on a Java HotSpot Client VM because server-mode is not available.
Install Java Developer Kit to fix this.
For more details see http://java.sun.com/products/hotspot/whitepaper.html#client
Der Befehl ""D:\Program Files\Zulu\zulu-8"" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Restarting JVM...
Der Befehl ""D:\Program Files\Zulu\zulu-8"" ist entweder falsch geschrieben oder
Seems the %JAVA% variable needs to be set to the .exe file.
Didn’t know that because normally you need to point to the install directory and not to the executable.
So it is now starting in Visual Studio Code, but again with the info:
Install Java Developer Kit to fix this
I will recheck the developer docs and will update the thread.
Because in the developer docs they are writing about the %JAVA% variable but in the install docs there is the standard %JAVA_HOME%.