• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Compiling and Running on Wireless Tool Kit

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
It's a pleasure to see superheros taking such an interest in science. And this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic