Ever got this error while building a BB JDE (BlackBerry Java Development Environment) Project?
Building <project> C:\Program Files\Research In Motion\BlackBerry JDE 4.3.0\bin\rapc.exe -quiet import="..\..\..\..\..\Program Files\Research In Motion\BlackBerry JDE 4.3.0\lib\net_rim_api.jar" codename=<project> <project>.rapc warnkey=0x52424200;0x52525400;0x52435200 C:\<project>\<project>.java I/O Error: Cannot run program "javac": CreateProcess error=2, The system cannot find the file specified Error while building project
First check that you have JDK properly installed on your computer. Go to Control Panel -> Add/Remove Programs.
If all that's sweet - check the Environment path to ensure JDK is included. Go to My Computer -> Properties -> Advanced -> Environment. Under System variable Edit Path - and check to see if you have C:\Program Files\Java\jdk
If that doesn't exist you'll need to manually set the paths into the ide.ini when the BB IDE runs. Go to C:\Program Files\Research In Motion\BlackBerry JDE 4.7.0\bin - edit the ide.bat and add the following lines at the beginning:
SET PATH=C:\Program Files\Java\jdk<version>\bin;C:\Windows;C:\Windows\system;C:\Windows\system32 SET JAVA_HOME=C:\Program Files\Java\jdk<version>
Remember to replace
<version></version> with the actual version!
Save, and restart you're IDE - and re-build your project. Hopefully it'll start working