2.運行下載得到的檔案j2me_wireless_toolkit-2_2-ml-linux-i386.bin,安裝程式是控制台啟動並執行,沒有圖形介面。首先是一個長長license聲明,最後提示
Do you agree to the above license terms? [yes or no]
照例回答yes
3.然後安裝程式會自動監測本機上安裝的jdk
Testing /usr/local/jdk5/bin/java...
Testing /usr/bin/X11/java...
Exception in thread "main" java.lang.ClassFormatError: com.sun.kvem.environment.JavaVersionTester (unused data before end of file)
at java.lang.VMClassLoader.defineClass(libgcj.so.7)
at java.lang.ClassLoader.defineClass(libgcj.so.7)
at java.security.SecureClassLoader.defineClass(libgcj.so.7)
at java.net.URLClassLoader.findClass(libgcj.so.7)
at java.lang.ClassLoader.loadClass(libgcj.so.7)
at java.lang.ClassLoader.loadClass(libgcj.so.7)
at java.lang.Class.forName(libgcj.so.7)
at gnu.java.lang.MainThread.run(libgcj.so.7)
A suitable Java interpreter was detected
0) Use /usr/local/jdk5/bin/
1) Specify a path to a Java interpreter directory.
2) Cancel this installation.
Select a choice [0-2]:
我選擇0,那是我原先安裝的JDK的位置。
4.接下來提示選擇安裝目錄
Please enter a directory into which you would like to install the J2me Wireless Toolkit, 2.2.
[ default is /home/infowain/install/WTK2.2 ]:
輸入你希望安裝的位置,我輸入了/home/infowain//WTK2.2
5.接下來提示是否可以開始安裝
Setup has enough information to start copying the program files.
Current Settings:
Destination Directory
/home/infowain/WTK2.2/
JVM Folder
/usr/local/jdk5/bin/
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,開始安裝
6.最後提示
Extracting the installation files...
Documentation for the J2ME Wireless Toolkit version 2.2 is in the file
/home/infowain/WTK2.2/index.html
In order to start using the J2ME Wireless Toolkit, please run
/home/infowain/WTK2.2/bin/ktoolbar
表示安裝成功,並回到控制台