How to get WTK2.5.2 runing on Mac OS X

It is very easy. Download the linux edition of WTK2.5.2. 

 

When asked for a Java interprenter paste this string: /Library/Java/Home/bin/ (or wherever you must hide your Java on your Mac)

 

When the toolkit is installed, copy the WTK2.5.2/wtklib/Linux to WTK2.5.2/wtklib/Mac and you can run it.

 

Now to compile and build project. The preverify tool is made for linux, but I will try later on to use the one for sunspots and return any result i got. 

The SunSPOT preverify tool cannot be used. So before a Mac Edition of the Wireless Toolkit is released must you use windows or linux to develop for mobilephones. 

 

The page http://developers.sun.com/mobility/midp/articles/osx/ show a way to get up and runing without using the toolkit. 

 

UPDATE:

To get the MIDP packege running on 10.5.6 using XQuartz some libraries need to be relinked.

Run the following commands:

cd /usr/X11R6/lib
ln -s libXpm4.11.0.dylib libXpm4.11.dylib 
ln -s libXt6.dylib libXt6.0.dylib 
ln -s libX116.2.0.dylib libX116.2.dylib 
ln -s libICE6.3.0.dylib libICE6.3.dylib 
ln -s libSM6.0.0.dylib libSM6.0.dylib  

Then will the MIDP package work, and you can start developing J2ME apps for your phone. More about this later. 

Comments:

Why can't the preverify tool from Sun SPOT be used?

Posted by Eric on March 04, 2009 at 11:07 AM CET #

adaaddd

Posted by a on March 17, 2009 at 04:25 AM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
About

David Askirk

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today