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

后端 未结 11 2390
梦如初夏
梦如初夏 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:17

    This worked for me: Project JDE 5.0 OS: Windows 8.1 x64

    This PC > Properties > Advanced System Settings > Environment Variables: Added the following: Path: C:\Program Files (x86)\Java\jdk1.7.0_25\bin;C:\Program Files (x86)\Java\jdk1.7.0_17\bin;C:\Program Files (x86)\Java\jre7\bin

    I know the above is similar but thought id post what worked for me anyway as it reinforces the above answers :)

    NB to restart eclipse.

提交回复
热议问题