File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compiling and Running on Wireless Tool Kit

 
Demith Samaraweera
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mark

I have installed the Wireless Toolkit and when I try to run the program it compiles well and when running it, it displays the phone but it does not show the output on phone screen, it tell a error of Some socket.

What I should do, do I need to install CLDC and MIDP seperately when i install the wireless toolkit does it automatically installs, because it only asks for the Java Runtime Environment.

Please Help me
Thanks
[ September 25, 2004: Message edited by: Demith Samaraweera ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Wireless Toolkit comes with all the APIs that you need and sets the classpaths correctly.

Why not post your error and the code where it errors out, and maybe we can help you there.

Mark
 
Demith Samaraweera
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
I am sorry I was fogot to include the error This is the error

Project "photoalbum" loaded
Project settings saved
Building "photoalbum"
Build complete
Running with storage root DefaultColorPhone
Error running executable C:\WTK21\bin\zayit
java.net.SocketException: Unrecognized Windows Sockets error: 10106: create
at java.net.ServerSocket.createImpl(ServerSocket.java:254)
at java.net.ServerSocket.getImpl(ServerSocket.java:205)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:97)
at com.sun.kvem.Lime.runClient(Unknown Source)
at com.sun.kvem.KVMBridge.runKVM(Unknown Source)
at com.sun.kvem.KVMBridge.runKVM(Unknown Source)
at com.sun.kvem.midp.MIDP$5.run(Unknown Source)

My computer is Windows 98 and the Wireless toolkit I use is 2.1, version
I have uninstalled and reinstalled the Wireless toolkit several times but i get the same error

Please help me
 
Dave Butler
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Quick google search led to this link:

http://forum.java.sun.com/thread.jsp?thread=329241&forum=54&message=2459095

Reports the same error code, discusses the problem, hope it helps

Dave
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic