Been a while since I posted (that's an understatement), and I figured I should start again. I will try to be more consistent this time. I am currently working on BlackBerry projects and would like to share any interesting stuff that I discover through this blog. Hopefully someone will bump into it in a time of need.

While developing BlackBerry applications you may come across this error message:

I/O Error: Cannot run program "jar": CreateProcess error=2, The system cannot find the file specified

To resolve this error, simple add your JDK bin folder to the computer's PATH environment variable (in my case it was C:\Program Files (x86)\Java\jdk1.6.0_14\bin). (See http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx and http://www.computerhope.com/issues/ch000549.htm) to see how to modify your path variable on Windows. If you are using Linux, you can do so by running the following command:

PATH=$PATH:/path/to/jdk

Out for now. Ciao.