哪个版本的JRE for JDK 11?

时间:2018-10-25 16:30:39

标签: java

使用jdk11需要什么版本的jre?我找不到8update192之后的jre版本。

通常,JDK版本与Java语言版本相关吗?适用于Java 8的JDK 8和适用于Java 11的JDK 11?

如果我使用JDK 11,我可以运行使用较少运行时的应用程序,例如8吗?那就是JDK 11和Jre 8

1 个答案:

答案 0 :(得分:5)

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 diagram to aid in finding and choosing an implementation of Java 11 from various vendors.

相关问题