×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    2

    java.lang.Error: ClassFormatError, java.lang.Class..unknown.()

    Hello,

    I've got a problem with ClassFormatError,
    I create jar file with java 1.4 and add it to my project J2ME midlet also compilled with 1.4,
    the problem occured while initializing one of the class from the jar:

    java.lang.Error: ClassFormatError: 8 - java.lang.Class..unknown.(), bci=0 - java.lang.Class.initialize()

    Has anybody met similar problem?

    Kate.

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: java.lang.Error: ClassFormatError, java.lang.Class..unknown.()

    I think more details of the code is needed for troubleshooting. But as a guess: Are you trying to use some classes or methods not part of Java ME?

    Hartti

  3. #3
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: java.lang.Error: ClassFormatError, java.lang.Class..unknown.()

    Hi,

    As Hartti informed it is hard to figure out by reading the information you posted. My best guess is that you should force the code to be 1.3 (JSE version) compliant.

    Br,
    Juarez Alvares Barbosa Junior - Brazil

Similar Threads

  1. ERROR RCmake.exe AND rcomp.exe
    By jifik in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2005-10-31, 12:24
  2. 'Response Unknown' when downloading midlet
    By Weevil in forum Mobile Java General
    Replies: 3
    Last Post: 2004-05-30, 17:01
  3. Errors compilling and debugging Helloworld
    By doberlet in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2004-03-04, 18:08
  4. Codewarrior import .mmp error
    By serenade in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-02-21, 20:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×