Method............: 1018b3f8 'com/sun/midp/midlet/MIDletState.createMIDlet (static)'
Stack Chunk.......: 488bcd8
Frame Pointer.....: 488bd30
Current IP........: 10223e61 = 10223e44 + offset 29
Previous Frame....: 488bcf8
Previous IP.......: 1024d539 (offset 22)
Frame size........: 7 (1 arguments, 6 local variables)
Argument[0].......: 488cb80
Local[1]..........: 0
Local[2]..........: 488bcf8
Local[3]..........: 48a63f0
Local[4]..........: 488bd0c
Local[5]..........: 101747dc
Local[6]..........: 488bcd8
Operand[1]........: 488cb80

Method............: 101a574c 'com/sun/midp/midlet/Selector.run (virtual)'
Stack Chunk.......: 488bcd8
Frame Pointer.....: 488bcf8
Current IP........: 1024d539 = 1024d523 + offset 22
Previous Frame....: 0
Previous IP.......: 1
Frame size........: 6 (1 arguments, 5 local variables)
Argument[0].......: 488cdd8
Local[1]..........: 48a65b0
Local[2]..........: 488cb80
Local[3]..........: 0
Local[4]..........: 0
Local[5]..........: 0
Operand[1]........: 48a65b0

VM status:
Instruction pointer.: 10223e61 (offset within invoking method: 29)
Next instruction....: 0x4c
Frame pointer.......: 488bd30
Local pointer.......: 488bd14
Stack size..........: 128; sp: 488bd48; ranges: 488bce0-488bee0;
Contents of the current stack frame:
    488bd14: 488cb80 (lp)
    488bd18: 0
    488bd1c: 488bcf8
    488bd20: 48a63f0
    488bd24: 488bd0c
    488bd28: 101747dc
    488bd2c: 488bcd8
    488bd30: 488bcf8 (fp)
    488bd34: 1024d539
    488bd38: 488bd10
    488bd3c: 1018b3f8
    488bd40: 488bcd8
    488bd44: 0 (end of frame)
    488bd48: 488cb80 (sp)
Execution stack contains 108 items:
ALERT: java/lang/ClassFormatError: Bad version information.

如果使用JBuilder运行J2ME的程序,出现上面的错误,那肯定是使用的jdk的build的版本错了。

到project->build->java里面修改目标jvm的版本吧。

将Target VM的版本改为jdk1.3,language feature也改为1.3即可。

 

评论
ij1371 2008-06-04   回复
非常感谢,这好用着了
发表评论

您还没有登录,请登录后发表评论