BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-12-2010, 03:02 AM   #1 (permalink)
New Member
 
Join Date: Aug 2010
Model: 7100T
PIN: N/A
Carrier: GPRS
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Can not package BB project Error

Please Login to Remove!

Hi All,

I am new to BB development..
Actually i have imported a BB project into Eclipse,
The project was already developed using JDE 4.1
and I am using BB SDK 5.0
now i have to build & package this project but it gives me following message
like :-I/O Error: Cannot run program "jar": CreateProcess error=2, The system cannot find the file specified
Also,
i have copied all the src files and also created a new project and pasted there still it gives me same error
Also,
I have setted the environment variable still no outcome

please help in this as i have wasted too much time
Details of Software i am using.

BB SDK :- 5.o
Java SDK :- 1.6
BB Java plugin :- 1.1.12.2010
Eclipse IDE :- 1.2.0.2009
Offline  
Old 10-13-2010, 01:25 AM   #2 (permalink)
New Member
 
Join Date: Aug 2010
Model: 7100T
PIN: N/A
Carrier: GPRS
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please anybody something..awaiting for your reply guys
i need to know where am i doing mistake?
Offline  
Old 10-13-2010, 09:24 AM   #3 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

This is a tough issue to locate.

Can you open a command-line window and run the "jar" program? If so, then you might have too many modules in your project. The rapc compiler generates a command-line call to JAR that includes all of the java modules in the project. IF the size of the command line parameters exceeds a certain size, the JAR app will end with this error.

Another issue might be that the location of your project is so far away from the root, that this contributes to the problem.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.