openHab2 not starting - Windows 7

Hello I am trying to launch openHab2 on my Windows 7 machine and I got the following error:

Launching the openHAB runtime…
endorsed;C:\openHAB2\runtime\bin…\lib\endorsed is not supported. Endorsed stan
dards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

C:\openHAB2>echo %JAVA_HOME%

openHab version is: 2.2.0

Any ider what’s going wrong?

fall back to Java 8 and try again (you installed JDK 10.0.1)

I had the same issue, with Java 8. I updated to JDK 10 afterwards.

OH will not run on JDK 10. You must use Java 8.