Hi, I was wondering what the maximum size a java class file can be. I just wrote a class that was about a 100K in size, and Netbeans 5.0 told me the code was too large. I split the data into 2 classes and there was no problem.
If you were wondering why my class was so big, its because for my chess application, I have decided to create the images from prestored arrays. It avoids the hassel of loading images in, and the problems faced with loading when using JARs.
Thanks for any info.
Joined: Oct 13, 2005
Don't know. I looked in the JLS and there doesn't seem to be a maximum size there. . .