Community
Participate
Working Groups
Build ID: M20090211-1700 Steps To Reproduce: When you user S60 fp1 emulator and want to run a project on it, you frequently get the message 'Jar file could not be initialized' java.util.zip.ZipException: invalid entry compressed size (expected x but got y bytes). It seems that MTJ doesn't produce a valid jar file in most of the cases. More information:
Are you even able to import this SDK? See bug 278171
Yes, I was, this worked in my version.
Hello everyone, I will fix this bug and send a patch soon. Regards, Renato Franca
Hello All, I was analyzing the bug and noticed that the error happens when the path to the MIDlet jar file is used as a classpath parameter: emulator.exe -classpath "C:\Locale.jar" -Xdevice:S60Emulator -Xdescriptor:"C:\Locale.jad" TestMIDlet Removing the classpath parameter the command works fine, until the “Launch session” step, when a new error happens (see attached image). I was looking for this error on forums and seems that anyone know how to fix that bug. Does anyone know how to fix that error, or what causes that? Regards, Renato Franca
Created attachment 144972 [details] Error image Error image
(In reply to comment #5) > Created an attachment (id=144972) [details] > Error image > If it can be of any help I had a similar error (cannot launch any application) after installing the nightly build to fix bug 278171 (http://download.eclipse.org/dsdp/mtj/downloads/drops/N-N20090820-200908200942/index.html) to import S60 3rd ed FP1 devices. This happens even when I select S60 5th ed emulator which normally works with the official MTJ 1.0 release. Reinstalling the 1.0 release and removing 3ed FP1 devices it's OK. Any hope to have MTJ running with nokia S60 FP1 devices ? bye Pipp8