Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Super Contributor
Posts: 398
Registered: ‎01-12-2011
My Device: Q10
My Carrier: Fido
Accepted Solution

Eclipse no longer creating COD file for project

Hi.

 

I've come across a problem. My BB simulator has been working fine all morning, but now when I click Run As > Blackberry Simulator my app never gets loaded onto the device.

 

I've also noticed that in my Deliverables folder there is no .cod file. Right now I can't test at all, not sure what I should do.

 

Can anyone help??

 

Thanks.

Super Contributor
Posts: 398
Registered: ‎01-12-2011
My Device: Q10
My Carrier: Fido

Re: Eclipse no longer creating COD file for project

I've been look around for an answer and I've come across this one a few times:

 

Try building the Cod by clicking Build Active BlackBerry Configuration in the Project menu.

 

I cannot find this option and have looked everywhere for it.

Super Contributor
Posts: 398
Registered: ‎01-12-2011
My Device: Q10
My Carrier: Fido

Re: Eclipse no longer creating COD file for project

[ Edited ]

Problem solved, see the following thread (JProfitt's post)

 

http://supportforums.blackberry.com/t5/Java-Development/Eclipse-I-O-Error-Cannot-run-program-quot-ja...

 

Basically I needed jar.exe in my PATH. I found got the following file:

 

C:\Program Files\Java\jdk1.6.0_21\bin\jar.exe

 

Copied it and pasted it into each of the following folders:

 

Files\Java\jre1.6.0_02\bin

Files\Java\jre1.6.0_03\bin

Files\Java\jre1.6.0_05\bin

Files\Java\jre1.6.0_07\bin

Files\Java\jre6\bin

 

Thanks jProffit, I have to go back now and Kudo your post.