I'm developing mod for Minecraft Forge 1.17 which requires JDK16. I have installed that. I'm using Eclipse and the compiler gives a warning that execution environment is JavaSE16 but no JRE16 found. As far as I know there is no JRE16 installed on my computer. The problem is that I can't find it anywhere.
Looked from Oracle website and Adoptium website. Both offer JDK16, but no JRE16. Where can I find JRE16 to download?
CodePudding user response:
Java 16 is now past end-of-life.
I suggest you move to Java 17, the current long-term support version.
You should read the release notes for Java 17. But as I recall migrating from 16 to 17 should be quite simple, without issues.
Several vendors offer binaries and installers for the JDK. Some of those release a JRE as well.
The lost of potential vendors include Adoptium, Azul Systems, Microsoft, IBM, Red Hat, BellSoft, SAP, Oracle, Pivotal, Amazon, and more.
Some vendors may offers builds for the outdated Java 16. For example, Azul Systems offers a JRE for Java 16.
CodePudding user response:
You need to download Java to download the Runtime Environment.
CodePudding user response:
The JDK includes the JRE, so you do not have to download both separately. https://www.oracle.com/java/technologies/javase/jdk16-archive-downloads.html
WARNING: These older versions of the JRE and JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production.