BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 08-18-2008, 06:10 AM   #1 (permalink)
New Member
 
Join Date: Aug 2008
Model: 8800
PIN: N/A
Carrier: T-Mobile
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Porting a Midlet JAR/JAD to COD: data section too large (COD > 64 KB)

Please Login to Remove!

I am trying to port a jar/jad midlet by rapc call on the command line to Blackberry. I tried it like that:

C:\Programme\Research In Motion\BlackBerry JDE 4.5.0\bin>rapc import="..\lib\net_rim_api.jar" codename=MyProject -midlet jad=MyProject.jad MyProject.jar

this seems to work good for a while, it parses, reads, gives warnings and so on. But at least it stops with:

I/O Error: output file: MyProject-64.cod data section too large: 65284 bytes.
output file: MyProject-75.cod data section too large: 65068 bytes.
output file: MyProject-219.cod data section too large: 65176 bytes.

A little but confusing is that this message is for 64 KB CODs "not really true"? 64 KB should be 65536 (or 65535) byte, and this is below that?

Is there a easy way to solve this problem? It would be heavy to separate all into 64K blocks by hand.

Last edited by Airport1 : 08-18-2008 at 06:15 AM.
Offline  
Old 08-18-2008, 10:03 AM   #2 (permalink)
New Member
 
Join Date: Aug 2008
Model: 8800
PIN: N/A
Carrier: T-Mobile
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

seems the problem were the resource files. there were some png images ranging from 30 kb to 218 kb. tried to compress them with irfanview and yehaaa.. it works now
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

Noches Latinas UR3 Amiga Parala La Palma Vagina Mastrubator + Cream Gift
$29.99
Noches Latinas UR3 Amiga Parala La Palma Vagina Mastrubator + Cream Gift pictureNoches Latinas UR3 Amiga Para La Palma Culo Mastrubator + Cream Gift
$29.99
Noches Latinas UR3 Amiga Para La Palma Culo Mastrubator + Cream Gift pictureCSG/AMIGA 391077-01 PLCC
$14.2
CSG/AMIGA 391077-01 PLCC pictureAmiga Vinyl Banner Sign Garage WorkShop Many Size Logo Dealer
$21.84
Amiga Vinyl Banner Sign Garage WorkShop Many Size  Logo Dealer pictureAmiga Vinyl Banner Sign Garage WorkShop Many Size Logo Dealer
$21.84
Amiga Vinyl Banner Sign Garage WorkShop Many Size  Logo Dealer picture






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