'8 unexpected at this time' error

  • Platform information:
    • Hardware: Intel i3 -8100, 8.0 gb
    • OS:Windows 10 home edition 64 bit
    • Java Runtime Environment: Zulu11.52+13-CA
    • openHAB version: 3.1.0
  • Issue of the topic: “8 unexpected at this time.”

Launching the openHAB runtime…
8 was unexpected at this time.

c:\openHAB>java -version
openjdk version “11.0.13” 2021-10-19 LTS
OpenJDK Runtime Environment Zulu11.52+13-CA (build 11.0.13+8-LTS)
OpenJDK 64-Bit Server VM Zulu11.52+13-CA (build 11.0.13+8-LTS, mixed mode)

I have my JAVA_HOME set and correct path as it returns a valid JRE installation…but as shown above this is all I get when I try and run the setup. I have been trying to figure this out for a couple days (I am not very familaur with Java…last coding class was C++ in 2003)

As you did not post the JAVA_HOME path that is set in your environment could it be that this:

is the problem ?

So I think part of the problem was having JAVA_HOME as a user path and a system path. I removed the user path and variable and can’t remember if I did it with or without the \bin right away. either way got it working like two hours after posting.