Re: Mail4ME digest, Vol 1 #40 - 1 msg
"xiao gang" <[email protected]> Wed, 18 Dec 2002 16:04:14 +0800
| Newsgroups | gmane.comp.java.enhydra.mail4me |
|---|---|
| Message-ID | <[email protected]> |
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=20 directory DOC) >Today's Topics: > > 1. Novice: Trying to compile with J2me wireless toolkit from ZIP=20 sources (Dan) > >--__--__-- > >Message: 1 >From: "Dan" <[email protected]> >To: <[email protected]> >Date: Fri, 13 Dec 2002 22:25:42 +0100 >Subject: Mail4ME: Novice: Trying to compile with J2me wireless toolkit=20 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 =3D 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 =3D 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 >[email protected] >http://support.enhydra.org/mailman/listinfo.cgi/mail4me > > >End of Mail4ME Digest _________________________________________________________________ =CF=ED=D3=C3=CA=C0=BD=E7=C9=CF=D7=EE=B4=F3=B5=C4=B5=E7=D7=D3=D3=CA=BC=FE=CF= =B5=CD=B3=A1=AA MSN Hotmail=A1=A3 http://www.hotmail.com=20