Good heavens 10000 lines, in one method or what?
Refactor your code into smaller methods, which should be done regardless of this error, for greater readability and maintainability and OOP principles.
Let's say, for instance, that I wnat to initialize an array instance variable that will contain 7462 integer values in my constructor, just as an example. I'm not really sure if this exceeds the maximum size for a java array, but if it does that would be just as useless a restriction as this "code too large" thing. If I write huge code that means I need huge code. [ goes to write program in C, which would be my advice here. :) ]