添加JSpeex Jar文件黑莓项目 [英] Adding JSpeex Jar file to Blackberry Project

查看:205
本文介绍了添加JSpeex Jar文件黑莓项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想JSpeex的jar文件添加到黑莓的项目。
如果我添加它编译失败。

I am trying to add JSpeex's jar file to Blackberry project. Compilation fails if I add it.

另外,如果我的源文件添加到项目中,编译失败的JSpeex是纯Java类没有黑莓应用程序的支持。

Also, if I add source files to the project, compilation fails as JSpeex is pure Java and classes are not supported in Blackberry app.

请帮我解决这个问题...

Please help me to resolve the issue...

先谢谢了。

推荐答案

纯Java?该黑莓JVM仍然基于 J2ME ,请记住这是类型的Java的一个子集。

Pure Java? Keep in mind that the Blackberry JVM is still based on J2ME, which is kind of a subset of java.

要包括外部JAR按照知识库录入

To include external JAR follow the Knowledge Base Entry

<一个href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/How%5FTo%5F-%5FCompile%5Fa%5FJAR%5Ffile%5Finto%5Fa%5FBlackBerry%5FLibrary.html?nodeid=801017&vernum=0\"相对=nofollow>如何 - 编译一个jar文件到图书馆黑莓

另一种方法是提取您的jar文件(更改文件结尾为.zip,而不是.jar和提取源文件),并使用preverify选​​项来检查你的Java类。

Another way is to extract your jar file (change the file ending to .zip instead of .jar and extract the source files) and using the preverify option to check your java classes.

preverify.exe [-d] output -classpath directory input; directory

好运,

rAyt

Good Luck,
rAyt

编辑回应您的评论

C:\\ Program Files文件\\ Research In Motion公司\\黑莓JDE 4.7 \\ BIN 尝试

preverify -classpath "C:\Program Files\Research In Motion\BlackBerry JDE 4.7\lib\net_rim_api.jar" "d:\myjar.jar"

和看在输出文件夹。

这篇关于添加JSpeex Jar文件黑莓项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆