6

What version of the jre is required for using jdk11?I can't find a jre version later than 8update192.

In general is a JDK version correlated to the Java language version? JDK 8 for Java 8 and JDK 11 for Java 11 ?

If I use JDK 11 can I run applications that use a lesser runtime for example 8? That is JDK 11 with Jre 8

microwth
  • 642
  • 9
  • 22
  • 1
    You can find JRE 11 on https://www.oracle.com/technetwork/java/javase/downloads/index.html#JDK11 . Usually JREs are downwards compatible – Marged Oct 25 '18 at 16:33
  • 3
    **The JDK comes with the JRE**. You don't need a separate JRE installation to use a JDK. – Andreas Oct 25 '18 at 16:36
  • 1
    *"is a JDK version correlated to the Java language version?"* Yes --- *"If I use JDK 11 can I run applications that use a lesser runtime"* Only if you explicitly tell the compiler to compile for older version, and don't use any new features. – Andreas Oct 25 '18 at 16:38
  • Is Jre 11 a 64 bit runtime only? No 32 bits anymore? – microwth Oct 25 '18 at 16:40
  • 4
    See: [Can Java 9 run on a 32-bit OS?](https://stackoverflow.com/q/46356345/5221149) --- And please stop asking new questions in a comment. If you have a new question, create a new Question. – Andreas Oct 25 '18 at 16:47
  • Similar: [*How to get java 11 run-time environment working since there is no more jre 11 for download?*](https://stackoverflow.com/q/53111921/642706) – Basil Bourque Feb 18 '19 at 00:32

1 Answers1

11

is a JDK version correlated to the Java language version?

Yes. The number of the kit to produce apps on the Java platform, the JDK, is numbered to match the version of Java platform. 8 for 8, 11 for 11, and so on.

If I use JDK 11 can I run applications that use a lesser runtime for example 8? That is JDK 11 with Jre 8

You can use JDK 11 during development for earlier Java if your project is explicitly configured to be compiled and built for the earlier Java only.

Of course that means you cannot use features added in the later Java. But if your project is properly configured, your IDE should prevent such features from being introduced into your codebase.

What version of the jre is required for using jdk11?

There is no more separate JRE distribution. The JRE was a runtime-only environment used to run apps while the JDK was used to develop (and run) apps.

Now we have only JDK releases, as far as I know.

Oracle no longer intends for end-users to be installing a JRE or a JDK. Java Applets in a browser and Java Web Start app delivery are both being phased out, leaving the end-user with no need for a JRE. Java-based apps are expected to bundle their own Java implementation. The only folks consciously installing a JDK will be developers & server-side sysadmins.

Important:

Learn about:


Here is a flowchart diagram that may help you finding and deciding amongst the various vendors providing a Java 11 implementation.

Flowchart guiding you in choosing a vendor for a Java 11 implementation


Motivations in choosing a vendor for Java

Basil Bourque
  • 218,480
  • 72
  • 657
  • 915