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
New Contributor
ysadiq
Posts: 3
Registered: ‎05-23-2011
My Carrier: Software Engineer
Accepted Solution

I/O Error jar when adding new class

[ Edited ]

I have a huge problem. I get the following error from rapc when trying to populate:

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

after adding a class to the project. I remove the class and everything works fine again. It does not matter which class I add or where - it seems like there is a limit in size or count of classes?

I am not able to finish my project because I can not add any new classes ...


Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008

Re: I/O Error jar when adding new class

[ Edited ]

Please search the forum - this issue may have several causes, and they have all been discussed often.

 

Please use plain text.
New Contributor
ysadiq
Posts: 3
Registered: ‎05-23-2011
My Carrier: Software Engineer

Re: I/O Error jar when adding new class

 

solved by moving

 

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

Please use plain text.
Developer
CBAVince
Posts: 25
Registered: ‎05-16-2011
My Carrier: Orange

Re: I/O Error jar when adding new class

I had the same problem, thank you for posting your solution :smileyhappy:
Please use plain text.