BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-20-2009, 09:57 PM   #1 (permalink)
New Member
 
Join Date: Sep 2009
Model: 8800
PIN: N/A
Carrier: Verizon
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Post maximum number of java classes? Eclipse

Please Login to Remove!

Is there a limit to how many classes or files a blackberry application can have?

I was gleefully working on my first applet for my blackberry when I ran into a strange issue.
u know those jad, jar, and cod files that appear in your project folder when you debug with the emulator?

Those just stopped appearing.

currently when I remove a bunch of classes from the build path, it starts working again.
none of the classes have errors but there are thousands of warnings about unused features. (those will go away as the applet becomes more complete.)
The entire code size is now 723 KB and the number of classes is about 140

im a newbie to java and eclipse - using eclipse with blackberry JDE 4.7.0
I'm also seeing this problem in JDE 4.5, those are the only ones Installed.
Offline  
Old 09-21-2009, 09:34 AM   #2 (permalink)
New Member
 
Join Date: Sep 2009
Model: 8800
PIN: N/A
Carrier: Verizon
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

UPDATE: URGENT!
I tried the following troubleshooting/workarounds:
(a) create a new project and move the classes in there. (didn't compile)
(b) remove half of the classes from the build path (this compiled) then include them again and remove the other half (compiled also)
(c) break larger packages into several smaller ones (didn't compile)

With 'compile' i am referring the JAR and COD file in the project root. I believe the classes themselves compile because the bin directory has a .class file corresponding to each object in my project.

This project has hit a brick wall. We'll need to look around for a different IDE if this can't be fixed soon.
Offline  
Old 09-21-2009, 02:49 PM   #3 (permalink)
New Member
 
Join Date: Sep 2009
Model: 8800
PIN: N/A
Carrier: Verizon
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, thanks anyway but I have found the answer (kind of)

I can't explain why it worked as long as the number of classes stayed under a certain limit but I finally noticed the error message in the compiler output.

After a few searches, i ended up adding a value the to system parameter PATH. This is basically the bin path of you JDK installation.

to anyone with a similar problem: I found the answer in this forum. sorry, no link

Like I mentioned, this does not explain why it managed to get along with fewer classes in the project.

I come from a different development environment (VS) and believe me, this does nothing to improve the instability reputation that Eclipse has made for itself.

make no mistake, i consider eclipse a good thing...

cheers -zacho
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





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