且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

黑莓错误:无法运行程序和QUOT;瓶和QUOT;:CreateProcess的错误= 2,系统找不到指定的文件

更新时间:2022-04-10 07:51:23

我已经经历了含有大量类的项目完全相同的问题。由于在类的数量的增加,在java jar文件从导致在编制问题的根本移开

I have experienced the exact same issue with a project that contained a lot of classes. Due to the increase in the number of classes, the java jar file moves away from the root which causes issues in compiling.

我很幸运,来解决这个错误。 这个链接已经从黑莓支持论坛非常有帮助。下面的步骤解决我的问题:

I was lucky to resolve this error. This link has been very helpful from BlackBerry Support Forums. The following steps resolved my issue:


  1. 右键点击我的电脑。转到属性。

  2. 单击高级系统设置。

  3. 单击环境变量

  4. 突出显示路径,然后单击编辑。添加C:\\ Program Files文件
    (86)\\的Java \\ jdk1.6.0_26 \\ BIN;到PATH的开始。

步骤4增加了java的jar文件到PATH变量,并增加了更贴近根。编译的一些类项目时添加接近根是很有帮助的。

Step 4 adds the java jar file to the PATH variable and adds it closer to the root. Adding closer to the root is helpful when compiling a project with several classes.