BlackBerry: Cannot run program "jar" error

July 25, 2011
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.




 

Google Chrome for Linux

December 21, 2009
Good news!

Google Chrome Beta is now available on Linux! Coming in at a neat 12MB download, the .deb package that I downloaded was a snap to install from my Kubuntu Hardy 8.04.3 after clicking. There are also rpm and .sh for Red Hat-based and other Linux distros out there. So far I'm happy with Chrome's performance on Linux, but my favourite browser is still Mozilla Firefox, but I must say that Chrome's developer tools are worth having a look at. 

You can get yourself a copy at http://www.googl...
Continue reading...
 

Configuring a Kohana website/application - Kohana Series

October 7, 2009
Tip #3 - Configuring a Kohana website/application


0. Download Kohana from the Kohana website: http://www.kohanaphp.com/download.
1. Extract the downloaded into a directory accessible to your web server (let's say Your_DocumentRoot_Directory/k for the purposes of this tutorial)
2. Ensure that your web server has read/write/execute access to all files within your Kohana directory (k). If you are on Linux, you may need to do something to this effect: chmod -R 777 Your_DocumentRoot_Directory/k, e.g ...
Continue reading...
 

Tip #1 - JavaME emulator wont run on Kubuntu

September 29, 2009
Background

So I decided to learn Java ME development. And I came across a blog called - well what do you know - the Java ME Blog, over at http://www.javameblog.com/.  Using the info on this blog along with what I found on the awesome java.net (http://today.java.net/pub/a/today/2005/02/09/j2me1.html), I was able to write a small MIDlet, and build it. Ah, now to run it... Not so fast; I kept getting an error message along these lines:

Starting emulator in execution mode
java.io.IOException: java.i...
Continue reading...
 

Who am I?


Tash Pemhiwa The simple answer is Tashinga N. Pemhiwa. Hailing from Zimbabwe, Africa, I grew up in Bulawayo in the Matebeleland region of Zim. I am first born in a family of six children, with two brothers and three sisters. My favourite activity is singing and professionally I enjoy web & software development. I am constantly researching new technologies and better ways to solve problems using the power of computing. I hold a BSc (Hons) degree in Computer Science from Midlands State University. I am a husband of one woman and a father of two. I hope to share anything that I consider useful on this blog and I look forward to your comments.


 
Make a Free Website with Yola.