如何添加外部JAR或ZIP文件中的黑莓项目

问题描述:

我想一个jar文件添加到我的黑莓手机的项目。我曾尝试通过以下方式将jar文件 - >

I want to add a jar file to my BlackBerry project. I have tried adding the jar file by the following manner ->


  • 右键单击项目 - >属性 - >建设 - >导入的jar文件 - >添加

但在那之后,每当我尝试运行应用程序我得到模块abc.jar找不到错误。​​

But after that, whenever I try to run the application I get "Module abc.jar not found error".

我怎么一个jar文件添加至BlackBerry项目?

How do I add a jar file to a BlackBerry project?

我找出如何做到这一点的JDE环境:

I find out how to do it on JDE environment:

为了编译与外部JAR,必须做右击项目,属性 - >构建 - >导入的JAR文件,并添加所需的外部JAR文件

In order to compile with the external JAR, must do right click on project, properties -> Build -> Imported JAR files, and add desired external JARs.

和添加模块BB模拟器调试,方法是创建在同一个工作区的新项目,外部JAR添加到它作为一个资源文件,并设置项目的建设,以库(在属性 - >应用程序 - >项目类型)。

And for adding module to BB simulator for debugging, the way is creating a new project on the same workspace, add the external JAR to it as a resource file, and set the project Build to Library (on properties -> Application -> Project Type).

我希望这可以成为