简体   繁体   English

在Eclipse中为项目构建设置JRE

[英]Setting JRE for project build in Eclipse

I found several selections in selecting execution environment in Eclipse: 我在Eclipse中选择执行环境时发现了几个选择: 在此输入图像描述

What does it means all these selection? 这些选择意味着什么? I see that all of them are related to java version. 我看到所有这些都与java版本有关。 But what CDC and OSGi means? 但是CDCOSGi意味着什么? And what (unbound) means? 什么(unbound)意味着什么?

The whole list is a Execution environment's available. 整个列表是可用的执行环境。

Here is the complete list 这是完整的清单

https://wiki.eclipse.org/Execution_Environments#Standard_Execution_Environments https://wiki.eclipse.org/Execution_Environments#Standard_Execution_Environments

EE Name Description OSGi/Minimum-1.0 OSGi Minimum Execution Environment 1.0 - This is a subset of the J2ME Foundation 1.0 class libraries defined by OSGi to be the base for framework implementations. EE名称描述OSGi / Minimum-1.0 OSGi最小执行环境1.0 - 这是OSGi定义的J2ME Foundation 1.0类库的子集,它是框架实现的基础。

OSGi/Minimum-1.1 OSGi Minimum Execution Environment 1.1 - This is a subset of the J2ME Foundation class libraries defined by OSGi to be the base for framework implementations. OSGi / Minimum-1.1 OSGi最小执行环境1.1 - 这是OSGi定义的J2ME Foundation类库的一个子集,它是框架实现的基础。

CDC-1.0/Foundation-1.0 J2ME Foundation 1.0 - With the exception of some MicroEdition IO classes, Foundation 1.0 is a subset of J2SE 1.3. CDC-1.0 / Foundation-1.0 J2ME Foundation 1.0 - 除了一些MicroEdition IO类,Foundation 1.0是J2SE 1.3的子集。

CDC-1.1/Foundation-1.1 J2ME Foundation 1.1 - With the exception of some MicroEdition IO classes, Foundation 1.1 is a subset of J2SE 1.4. CDC-1.1 / Foundation-1.1 J2ME Foundation 1.1 - 除了一些MicroEdition IO类,Foundation 1.1是J2SE 1.4的子集。

And unbound means, that environment added that environment to your eclipse , and eclipse no more remembered it's path. 并且没有绑定意味着,那个环境将这个环境添加到你的日食中,并且日食不再记得它的路径。 You need to edit and give the location again. 您需要再次编辑并提供位置。

CDC is Connected Device Configuration, which is a specification for Java ME. CDC是连接设备配置,它是Java ME的规范。 Here's a wiki link for more details. 这是一个维基链接 ,了解更多详情。

The OSGi specification describes a modular system and a service platform for the Java programming language that implements a complete and dynamic component model, something that does not exist in standalone Java/VM environments. OSGi规范描述了用于Java编程语言的模块化系统和服务平台,该实现了完整的动态组件模型,这在独立的Java / VM环境中是不存在的。 Here's a wiki link if you want to know more about OSGi. 如果您想了解有关OSGi的更多信息,请参阅wiki 链接

Unbound means you previously added that environment to your eclipse, but you need to edit the path and give the location again. Unbound意味着您之前已将该环境添加到您的eclipse中,但您需要编辑路径并再次给出该位置。

More details as to the execution environments in Eclipse can be found at the Wiki Eclipse page here . 更多的细节在Eclipse执行环境可以在Eclipse的维基页面上找到这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM