首先我們至Sun 安裝WTK (Ubuntu 英文版 6.x版有測試過)或是其他的模擬器,當然也可以使用套件安裝,我這邊是使用自行下載安裝。本文下載sun_java_wireless_toolkit-2_5_1-linux.bin至/opt/
- 安裝WTK
$ cd /opt/
輸入:
$ sudo sh sun_java_wireless_toolkit-2_5_1-linux.bin
會出現是否接受 license 的規定(當然是按y)。
些下來會出現一些安裝訊息,擷取片斷資訊如下所示供大家參考
Do you agree to the above license terms? [yes or no] y
Testing /usr/X11R6/bin/java...
A suitable Java interpreter was detected
0) Use /usr/X11R6/bin/
1) Specify a path to a Java interpreter directory.
2) Cancel this installation.
Select a choice [0-2]: 0
Please enter a directory into which you would like to install the Sun Java(TM) Wireless Toolkit, 2.5.1 for CLDC.
[ default is /opt/WTK2.5.1 ]:
Installation directory is /opt/WTK2.5.1
....
『省略』
....
Check for Product Updates? [yes or no] y
Setup has enough information to start copying the program files.
Current Settings:
Destination Directory
/opt/y/
JVM Folder
/usr/X11R6/bin/
Check for Program Updates
Enabled
Please choose one of the following options:
0) Begin copying files if you are satisfied with the settings .
1) Cancel the installation.
Select a choice [0-1]: 0
然後在按照官方網站的設定去Update和設定,即可Eclipse中在使用EclipseME,因為官方網站所提供的安裝方法很詳細,所以不在這邊再做介紹。
下載antenna.jar
http://antenna.sourceforge.net/
下載proguard
http://proguard.sourceforge.net/
簡體版教學
http://www.cnjm.net/eclipseme/docs/installation.html
PS:我的Eclipse Platform Version: 3.3.1.1
沒有留言:
張貼留言