(keitai-l) Re: ClassFormatError

From: Serge Besnard <serge.besnard_at_laposte.net>
Date: 01/19/06
Message-ID: <43CF3744.9020107@laposte.net>
Hi Neale,

Thanks for your proposal.
I tried with both JDK 1.3.1_17 and 1.4.2, to no avail. I'll try 1.2 
today and let you know the outcome.

Serge
Neale Rudd a écrit :
> Hi Serge,
>
> Not sure if this will help or not, but I often see this issue if the VM is
> an older version of Java that doesn't have the features of the version
> you compiled with.   Try compiling with JDK1.2 and see if that helps.
> I assume the verifier should pick up issues like this however, so not
> sure how useful this might be.
>
> Best Regards,
> Neale Rudd
>
> On 1/19/06, Serge Besnard <serge.besnard@laposte.net> wrote:
>   
>> Dear All,
>>
>> I have made an i-appli for DOJA 1.5oe which works fine on the NTT
>> emulator. When I download it on a LG342i, the program exits after trying
>> to open a simple class extending Object, with ClassFormatError.
>> Before crashing, the JVM has had time to create the IApplication, create
>> and display a JPanel, so I am baffled. I do not use obfuscation.
>> I compile with the command line, with the following commands :
>>
>> E:\jdk1.3.1_17\bin\javac.exe @args.txt @classes.txt
>>
>> with args.txt :
>> -g:none
>> -bootclasspath 
>> E:\JAVA\iDK\lib\doja_classes.zip;E:\JAVA\iDK\lib\classes.zip
>> -d E:\JAVA\iDK\apps\KD\classes
>> -target 1.1
>> -sourcepath E:\JAVA\iDK\apps\KD\src
>>
>> and classes file containing my IApplication java file.
>>
>> then :
>>
>> E:\JAVA\iDK\bin\preverify.exe -cldc -classpath
>> E:\JAVA\iDK\lib\classes.zip;E:\JAVA\iDK\lib\doja_classes.zip -d
>> E:\JAVA\iDK\apps\KD\preverified E:\JAVA\iDK\apps\KD\classes
>>
>> *********************
>> Is there a size limit to a class ?
>> My java classes belong to different packages, is that a problem ?
>>
>> Thanks for your help
>>
>> Serge
>>
>>
>> This mail was sent to address claus.hoefele@gmail.com
>> Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/
>>
>>
>>     
>
>
> This mail was sent to address serge.besnard@laposte.net
> Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ 
>
>   
Received on Thu Jan 19 08:53:36 2006