Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

The code for the static initializer is exceeding the 65535 bytes limit

843810Feb 11 2009 — edited Feb 13 2009
Hi,

I have a very large class file having all variables public static final. And size of that class file is more than 64K. But as I can not break that file into parts because other application are using same file.

I have gone through JVM spec, and it is a limitation of JVM as static initializer block can not exceed 64K.

Is their any kind of JVM setting?

kindly advice.

Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 13 2009
Added on Feb 11 2009
7 comments
1,547 views