While you try what to do what exactly? I will just assume you try to start openHAB.
When referencing instruction please post a link to said reference you used.
Just assuming the reference is the official documentation.
Since it’s Windows..
Did you restart Windows after you installed Java?
Please try to provide as much information as possible so we can help as best as we can.
For example, you did something and got an error message, but you did not provide a log of what you did, just the error message.
If you are unsure whats needed when creating a topic, I can recommend this topic which explains very well how to ask good questions.