JavaME:使模拟器运行不同的 JRE

发布于 2024-09-01 02:28:08 字数 216 浏览 2 评论 0原文

我使用 JavaME 的第一步,目前使用 Sun 的 WTK 3.0

我了解 JavaME 设备运行它自己的运行时环境,这是一个 1.3 JRE。

是否可以让模拟器运行 JavaSE JDK 6 ?

My first steps with JavaME, currently using Sun's WTK 3.0

I understand a JavaME device runs its own Runtime Environment, and that's a 1.3 JRE.

Is it possible to make the emulator run the JavaSE JDK 6 ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

单挑你×的.吻 2024-09-08 02:28:08

JavaME 运行时不是 JRE 1.3,

它是一个 Microedition 运行时,基于 JRE 1.3 发布时的 java 标准版本。

您可以使用 JavaSE JDK 6 开发 JavaME 运行时(这与微仿真器差不多),但 MIDlet 的应用程序管理和生命周期与 JavaSE 应用程序的不匹配。

编写 MIDlet 时不能使用 JavaSE 语言的最新规范(通用性...)。

The JavaME runtime is not JRE 1.3

It is a Microedition runtime BASED on what java standard edition was back around the time JRE 1.3 was released.

You can use JavaSE JDK 6 to develop a JavaME runtime (that's pretty much what microemulator is) but the application management and lifecycle of a MIDlet doesnt match that of a JavaSE application.

You cannot use the latest specification of the JavaSE language (genericity... ) when writing MIDlets.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文