[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


NetBeans / BlackBerry Compilation Error

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

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

I have to Class

MyClass1.java 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
  • 3
  • 2
LVL 92

Expert Comment

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

Author Comment

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

Accepted Solution

objects earned 1000 total points
ID: 35578866
yes, limits about 64k i think (thats for the byte code, not the .java file)
LVL 16

Author Comment

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

Author Closing Comment

by:Kalpesh Chhatrala
ID: 35821117
not receive perfect solution

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I felt secure communicating on the BBM... Till some time back!! It was probably the fact that the BBM messages do not travel over the internet was making me feel 'secure' about it, or was it the fact that BBM only works on a BlackBerry Devices a…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses
Course of the Month20 days, 2 hours left to enroll

872 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