错误:无法运行程序“jar":CreateProcess error=2,系统找不到指定的文件 [英] Error: Cannot run program "jar": CreateProcess error=2, The system cannot find the file specified
本文介绍了错误:无法运行程序“jar":CreateProcess error=2,系统找不到指定的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在 Eclipse 中运行我的 BlackBerry 项目时,出现以下错误:
When I run my BlackBerry project in Eclipse, I get the following error:
错误:无法运行程序jar":CreateProcess error=2,系统找不到指定的文件
Error: Cannot run program "jar": CreateProcess error=2, The system cannot find the file specified
这是怎么引起的,我该如何解决?
How is this caused and how can I solve it?
推荐答案
你可以通过以下设置解决这个问题
you can solve this problem by following setting
右键单击我的电脑 -> 选择属性 -> 选择高级系统设置选项卡 -> 环境变量点击新按钮并添加
Right Click My Computer -> Select Properties-> Select AdvancedSystem Settings Tab -> Environment variables Click on new button and Add
变量名:JAVA_HOME
变量值:C:Program FilesJavajdk1.7.0
注意 jdk 不是 jre
这篇关于错误:无法运行程序“jar":CreateProcess error=2,系统找不到指定的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文