Jenkins installion

I am trying to install Jenkins 2.387.3 on my machine (Windows 10). the latest release indicates I need Java11 or 17. I install Java 17
C:\Users\Shimon>java -version
java version “17.0.7” 2023-04-18 LTS
Java™ SE Runtime Environment (build 17.0.7+8-LTS-224)
Java HotSpot™ 64-Bit Server VM (build 17.0.7+8-LTS-224, mixed mode, sharing)
but while installing it complains about Java compatibility.

Can anyone points at my issue ?

Remove the \bin from the path. So it is C:\Program Files\Java\jdk-17

1 Like

Thanks Markus, it worked !!!