#This application requires a Java Runtime Environment 17

5 messages · Page 1 of 1 (latest)

hushed meadow
#

Hello, I am trying to run adventure mode. I am on Windows 11 and its version 2.0.01.jar. I have installed Java but when I try to run "forge-adventure.exe" I get the error "This application requires a Java Runtime Environment 17" Should I look for Java 17? The github says that later versions are acceptable

finite kraken
#

Just install it. It usually opens a window that takes you straight to it, it did for me. Download the jar, run it as an exe, and let it install. Easy. Done.

indigo fable
hushed meadow
indigo fable
#

It’s been like 12 years since oracle did the jdk and jre separation, lol.

Jre (runtime environment) is the supported free version of java, Oracle updates and support java8 (jre) as a standalone environment for free.

The jdk (dev kit) is "free to use" and has the new features of java beyond 8, but a supported runtime environment is not available unless you pay for it from Oracle.

Basically if you want to package a your java software to be standalone you can use Java 8 for free, if you want to use the new features of Java 9 and above and package the software to be a standalone binary you need to pay for it.
You can write java9+ software and distribute, but it won't be a standalone package, your users will need to have the dev kit to run it.