[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mail4ME: Re: Mail4ME digest, Vol 1 #40 - 1 msg


to:Daniele Berti
 in MIDP2.0  there is not java.net.socket .
of course cann't to import it .
you can study the document of j2me wireless API  (just in your install 
directory
 DOC)




>Today's Topics:
>
>    1. Novice: Trying to compile with J2me wireless toolkit from ZIP 
sources (Dan)
>
>--__--__--
>
>Message: 1
>From: "Dan" <berti.daniele@tin.it>
>To: <Mail4ME@enhydra.org>
>Date: Fri, 13 Dec 2002 22:25:42 +0100
>Subject: Mail4ME:  Novice: Trying to compile with J2me wireless toolkit 
from ZIP sources
>
>That's what I get
>------------
>Project "mail4me" loaded
>
>Project settings saved
>
>Building "mail4me"
>
>c:\WTK104\apps\mail4me\src\de\trantor\mail\j2se\ConnectionImpl.java:27:
>package java.net does not exist
>
>import java.net.Socket;
>
>                 ^
>
>c:\WTK104\apps\mail4me\src\de\trantor\mail\j2se\ConnectionImpl.java:42:
>cannot resolve symbol
>
>symbol  : class Socket
>
>location: class de.trantor.mail.j2se.ConnectionImpl
>
>     private Socket socket;
>
>             ^
>
>c:\WTK104\apps\mail4me\src\de\trantor\mail\j2se\ConnectionImpl.java:58:
>cannot resolve symbol
>
>symbol  : class Socket
>
>location: class de.trantor.mail.j2se.ConnectionImpl
>
>         socket = new Socket(host, port);
>
>                      ^
>
>3 errors
>
>com.sun.kvem.ktools.ExecutionException
>
>Build failed
>
>Unable to create MIDlet de.trantor.mail.demo.j2me.MailMIDlet
>
>java.lang.ClassNotFoundException: de.trantor.mail.demo.j2me.MailMIDlet
>
>  at com.sun.midp.midlet.Selector.commandAction(+47)
>
>  at javax.microedition.lcdui.Display$DisplayAccessor.commandAction(+152)
>
>  at com.sun.kvem.midp.lcdui.EmulEventHandler$EventLoop.run(+459)
>
>Execution completed successfully
>
>74669 bytecodes executed
>
>13 thread switches
>
>320 classes in the system (including system classes)
>
>624 dynamic objects allocated (26720 bytes)
>
>4 garbage collections (10632 bytes collected)
>
>Total heap size 500000 bytes (currently 481864 bytes free)
>
>--------------
>Where is the error?
>
>Thanks in advance
>
>
>Daniele Berti
>
>Official Cookie Pal Beta tester
>ECDL (European Computer Driving License) Rif. DS0008
>PGP 2.63i Key ID: ECC14A51
>Key Fingerprint = 4C C0 DB BD 85 D8 E7 D3  C4 63 82 53 DC 7E 82 EC
>PGP DSS key available
>ICQ# 22091823
>
>
>
>--__--__--
>
>_______________________________________________
>Mail4ME mailing list
>Mail4ME@enhydra.org
>http://support.enhydra.org/mailman/listinfo.cgi/mail4me
>
>
>End of Mail4ME Digest


_________________________________________________________________
享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com