aspose file tools*
The moose likes Java Micro Edition and the fly likes Compiling and Running on Wireless Tool Kit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Compiling and Running on Wireless Tool Kit" Watch "Compiling and Running on Wireless Tool Kit" New topic
Author

Compiling and Running on Wireless Tool Kit

Demith Samaraweera
Greenhorn

Joined: Sep 20, 2004
Posts: 3
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 ]

***********************************<br />Demith Waruna Samaraweera<br />Departmernt of Electronic and Telecommunication Engineering<br />University of Moratuwa<br />Sri Lanka<br /> <br />033 2285776<br />0714 879396<br />***********************************
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Demith Samaraweera
Greenhorn

Joined: Sep 20, 2004
Posts: 3
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

Joined: Jul 19, 2004
Posts: 9
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Compiling and Running on Wireless Tool Kit