Error: Cannot run program “jar”: CreateProcess error=2, The system cannot find the file specified

后端 未结 11 2384
梦如初夏
梦如初夏 2020-12-10 01:33

When I run my BlackBerry project in Eclipse, I get the following error:

Error: Cannot run program \"jar\": CreateProcess error=2, The system cannot fi

11条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-10 02:03

    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

    Variable Name : JAVA_HOME Variable Value : C:\Program Files\Java\jdk1.7.0\

    note jdk not jre

提交回复
热议问题