Which JDK version do you have installed? JDK8u332? Additionally, did you get it from adoptium or elsewhere?
A few last things before I head to bed:
Did you download version 8 of the JDK?
Did you download the JDK and not the JRE?
Is the JDK in the PATH? If you're not sure, you can run the installer or modify from add or remove programs, and click repair to make sure.
Do you have any other java installations that might be conflicting with it?
Did you update from an older version of renpy, and if so did you update RASP with it?
I'm sorry for all the questions, they're currently all I can think of that might be causing the problem, as it isn't a problem with the project itself as I was able to build it. Renpy asking you to install the JDK likely means that it for some reason cannot find it, so that's what I based these off of. If you still can't get it to work I can try help you out again later if you want.