NetBeans / BlackBerry Compilation Error

Posted on 2011-05-03
Last Modified: 2012-05-11

Error: output file: MyProject-1.cod code section too large: 73340 bytes.

I have to Class is approx  547 KB
MyClass2.Java is approx 200 KB

and 100 Text file in My Project

How can i solve this Compilation Error.

i have other small project that easily compiled.

Question by:Kalpesh Chhatrala
    LVL 92

    Expert Comment

    you need refactor your classes and break them up into smaller classes
    LVL 16

    Author Comment

    by:Kalpesh Chhatrala
    you mean i have to make divide my java file. but how much size ?
    LVL 92

    Accepted Solution

    yes, limits about 64k i think (thats for the byte code, not the .java file)
    LVL 16

    Author Comment

    by:Kalpesh Chhatrala
    i will try to do small pieces of my code and reply.
    LVL 16

    Author Closing Comment

    by:Kalpesh Chhatrala
    not receive perfect solution

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    how to extract window origin in spring 2 55
    countX 22 50
    return in catch statement 1 32
    Running Jira on Raspberry PI 2? 3 45
    By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
    When a user’s mailbox is first created and his Blackberry account enabled how do we provision the device and what happens in the background? Stage 1 – Activation The user of the BlackBerry device types the email address and activation password i…
    Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
    Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now