JRE became part of the JDK package since version 11. stackoverflow.com/questions/55868821/when-jre-was… So there's no way you can install "just JRE". I think mentioning JRE in the context of JDK can be misleading.
True, thanks for highlighting this. Indeed, the JDK comprises of JRE and Javac for developing, compiling, and running Java programs, while JRE is specifically for running. Your comment is much appreciated! 🙏