黑莓错误:jar命令失败 [英] Blackberry Error: Jar Command Failed

查看:364
本文介绍了黑莓错误:jar命令失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下是我的错误。

错误:jar命令失败:

Error: jar command failed:

罐子-cfmE:\\黑莓
  工作区\\ Kenexa的\\交付\\标准\\ 7.1.0 \\ Kenexa.jar

jar -cfm "E:\Blackberry Workspace\Kenexa\deliverables\Standard\7.1.0\Kenexa.jar"

C:\\用户\\宏基\\应用程序数据\\本地...包装项目Kenexa的失败(带
  8.81秒)

C:\Users\Acer\AppData\Local ... Packaging project Kenexa failed (took 8.81 seconds)

项目只是做工精细,它突然发生了。
我看过他们说来设置环境变量的jdk到系统的论坛上,也有的说放置在JDK像这样的JRE exe文件,我没有这两个选项,但仍然没有工作,我得到这个错误。

Project was just working fine, and it suddenly occurred. I have read the forums they said to set the environmental variable for the jdk to the system and also some said to place the jre exe file in jdk something like this, I did both the options but still not working and I get this error.

但是,当我删除它开始工作,再添加新类别给出了这样的问题,我有22个班,现在一些类,这是不是涉及到大小或限制??

But when I delete some classes it starts working and adding new classes again gives this problem, I have total of 22 classes right now, is this something related to size or limitations??

感谢您的帮助!

推荐答案

从<一个答案href=\"http://supportforums.blackberry.com/t5/Java-Development/why-cause-more-then-100-compiled-classes-packaging-I-O-error/m-p/520282\"相对=nofollow>黑莓支持你使用的是BlackBerry JDE或BlackBerry Java插件为Eclipse?

Answer from Blackberry Support Are you using the BlackBerry JDE or BlackBerry Java Plug-in for Eclipse?

如果您使用的是BlackBerry JDE你可能会运行到哪里,你已经达到了一个命令行的最大支持的长度问题(所有文件都列在命令行)。如果是这样的话,你可以通过减少(因为你这样做)的班数,或通过减少路径的长度到您的源文件(移动它们接近你的驱动器的根),解决这个问题。马克·佐姆BlackBerry开发顾问

If you are using the BlackBerry JDE you could be running into an issue where you have reached the maximum supported length for a command line (all files are listed on a command line). If this is the case you could resolve it by reducing the number of classes (as you have done) or by reducing the length of the path to your source files (move them closer to the root of your drive). Mark Sohm BlackBerry Development Advisor

所以,我只是从黑莓工作区到工作区改变我的工作区文件夹的名字。命令行没有服用漫长道路。

So, I just have to change my workspace folder name from "Blackberry Workspace" to "Workspace". The command line was not taking long path.

这篇关于黑莓错误:jar命令失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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