09-04-2008 08:54 AM
hi again
i develop game in java on bbs
when we are tring to download game we get:
907 Invalid JAR
output file: downloadjar-1.cod code section too large: 67232 bytes.
I assume there is some kind of limit on code (i can bet 64k) ?
how can i be sure my midlet (jar/jad) will change to .cod properly ?
09-04-2008 10:11 AM
Look at the following BB KB articles.
What Is - The file size limit for wireless downloads
http://www.blackberry.com/knowledgecenterpublic/li
Support - 907 Invalid Jar Error when installing an application wirelessly
http://www.blackberry.com/knowledgecenterpublic/l
09-05-2008 05:26 AM - edited 09-05-2008 05:26 AM
09-08-2008 05:10 AM
thx guys
i know methods to reduce problems of too large code
but i need method to verify if i have reduced it enough
if i create .cod in JDE and upload game via cable
everything is ok
if i want to install the game over internet
i got problems
so the only method of veryfication is to try to upload over the air
thx for interest
09-08-2008 05:32 AM - edited 09-08-2008 05:36 AM
I'm sure there are easier ways, but I do the following, using the JDE:
a) delete the *.jad files associated with the project I'm building
b) compile
c) check the jad looking for references to sibling cods, i.e. ones with names like <cod name>-1.cod.
Hope this helps.
Edit: Having re-read the original question, I not sure this helps. I don't see how this will detect that a sibling file is actually too big, which seems to be your problem. Sorry, I don't know.