gpt4 book ai didi

java - GWT 2.4.0 和 JRE 5

转载 作者:行者123 更新时间:2023-12-02 06:50:03 25 4
gpt4 key购买 nike

我想将 JRE 5 与 GWT 2.4.0 一起使用。

我知道 GWT 2.4.0 是使用 JDK 1.6 构建的。

我想知道它是否是按照 1.5 构建的?它会在 JRE 5 中运行还是需要 JRE 6 才能运行?

我想做的是使用 JDK 1.6 构建我的 GWT 2.4.0 项目,但是设置合规级别为 1.5。

对此有什么想法吗?

感谢您的反馈。

最佳答案

GWT 2.4 不支持 JRE 5。在 GWT 2.2 的发行说明中,他们说:

A note about Java 1.5
GWT version 2.2 will only have deprecated support for Java 1.5, resulting in warnings when building applications. While Java 1.5 will still work for this release of GWT, developers should upgrade their version of Java to correct these warnings and ensure compatibility with future versions of GWT.

Source of this Articel

这意味着,GWT 2.3 是最后一个不推荐支持 JRE 5 的版本。从 GWT 2.4 开始,您必须使用 Java 1.6 或更高版本。

关于java - GWT 2.4.0 和 JRE 5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18152180/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com