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

x
?
Solved

NetBeans / BlackBerry Compilation Error

Posted on 2011-05-03
5
Medium Priority
?
421 Views
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.

Thanks
0
Comment
Question by:Kalpesh Chhatrala
  • 3
  • 2
5 Comments
 
LVL 92

Expert Comment

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

Author Comment

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

Accepted Solution

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

Author Comment

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

Author Closing Comment

by:Kalpesh Chhatrala
ID: 35821117
not receive perfect solution
0

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