Hi,
    Sorry to ask this question in this forum.

    When I am running a java program I am getting an
error as below.I am using a tool to generate a java
file,so I don't have control on the java file method
to break it up into smaller size.My question is,Is
there a way to specify to the java program or to set
any parameter so that it takes more than 64k?

Exception in thread "main" java.lang.ClassFormatError:
com/testing/test (Code of a method longer than 65535
bytes)
        at java.lang.ClassLoader.defineClass0(Native
Method)
        at
java.lang.ClassLoader.defineClass(ClassLoader.java:486)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
        at
java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
        at
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at
java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at
java.security.AccessController.doPrivileged(Native
Method)
        at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at
java.lang.ClassLoader.loadClass(ClassLoader.java:297)
        at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
        at
java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)



Thanks for the help in advance.

Regards,
Ravi


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to