The problem may be, that the JAD-File does not contain the correct
filesize of the Jar. How do you run the emulator/which of the fallowing
methods are you using?
- "Midlet:"
- "JAD URL:"
- "Over the Air"

Another problem with the S60 Emulator is an active virus-scanner. I
could not run the S60 Emu until I added the installation-path of my
S60-SDK to the directories to be ignored by that scanner.

Greetings,
Markus

Gary Plante schrieb:
> Hi.
>  
> I am trying to run some of the Nokia SDK samples on the Nokia S60
> emulator. The emulator launches, but at the 'Create Jar File' step it
> always fails with an exception (see below). If I run the emulator from
> the command line (using the class files; not the jar file), then it
> seems to run OK.
>  
> Do you have any ideas what the problem could be?
>  
> System Info:
>  
> Eclipse:        3.3.0 (tried 3.2 too)
> EclipseME:   1.7.3
> Java SDK:     j2sdk1.4.2_15
> Windows:     XP
> S60 SDK:    S60_3rd_MIDP_SDK_FP1
>  
> The Symbian SDK error dialog box shows:
>  
> Jar file could not be initialized.
> Caught Exception:
> java.util.zip.ZipException:invalid entry compressed size (expected 919
> but got 923 bytes)
> java.util.zip.ZipOutputStream.closeEntry(Unknown Source)
> ...
>  
> The log file shows:
>  
> !ENTRY eclipseme.core 1 0 2007-08-03 10:55:47.066
> !MESSAGE Command line: cmd /c emulator.exe -Xdebug
> -Xrunjdwp:transport=dt_socket,suspend=y,server=y,address=2485 -classpath
> C:\work\sbb\j2me\nokiaS60\HelloWorld\.eclipseme.tmp\emulation\HelloWorld.jar
> -Xdevice:S60Emulator
> -Xdescriptor:C:\work\sbb\j2me\nokiaS60\HelloWorld\.eclipseme.tmp\emulation\HelloWorld.jad
> com.nokia.midp.examples.lcdui.helloworldplus.HelloWorldPlusMIDlet
>  
> !ENTRY eclipseme.core 4 120 2007-08-03 10:56:48.525
> !MESSAGE Couldn't connect to virtual machine
> !STACK 0
> java.net.ConnectException: Connection refused: connect
>  at java.net.PlainSocketImpl.socketConnect(Native Method)
>  at java.net.PlainSocketImpl.doConnect(Unknown Source)
>  at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>  at java.net.PlainSocketImpl.connect(Unknown Source)
>  at java.net.SocksSocketImpl.connect(Unknown Source)
>  at java.net.Socket.connect(Unknown Source)
>  at java.net.Socket.connect(Unknown Source)
>  at java.net.Socket.<init>(Unknown Source)
>  at java.net.Socket.<init>(Unknown Source)
>  at
> org.eclipse.jdi.internal.connect.SocketTransportService$2.run(SocketTransportService.java:136)
>  at java.lang.Thread.run(Unknown Source)
>  
>  
> 
> Thanks,
> 
> *Gary Plante* (System Engineer)
> Spescom DataVoice (Pty) Ltd, PO Box 582, Stellenbosch, 7599, South Africa
> Tel : +27 (0)21 888-2114  Fax : +27 (0)21 888-2200
> Email : [EMAIL PROTECTED]
> _http://www.datavoice.spescom.com <http://www.datavoice.spescom.com/>_
> 
>  
> 
> 
> This e-mail is sent on the Spescom Terms and Conditions that can be
> accessed by clicking on this link http://www.spescom.com/email.html
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Eclipseme-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
> 

-- 

*********************************
[EMAIL PROTECTED]
http://www.psitronic.de

psitronic IT-Solutions
Markus Sinner
W-Rathenau-Str. 14 - 68642 Bürstadt
Tel.: (+49)6206 / 963513
Fax:  (+49)6206 / 963514

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

Reply via email to