1. 系统要求
pentium 100以上cpu
64mb 内存
windows nt workstation 4.0(service pack 3)或windows 98
6 mb自由硬盘空间
java 2 sdk, standard version, 版本1.2.2或者更高
2. 安装java 2 sdk
在使用motorola sdk之前必须安装jdk,standard edition。
请从 http://java.sun.com/products/jdk 下载jdk,并按照sun的指导安装到pc中。
3. 安装motorola sdk
安装之前请先卸载以前版本的motorola sdk:
1. 选择"开始à设置à控制板"
2. 选择"添加/删除程序"
3. 查找到"motorola sdk components for the j2me platform"
4. 点击"卸载"
5. 用资源管理器删除"<install-dir>\motosdk"目录
安装sdk:
1. 运行"motorola_sdk.exe"
2. 按照提示安装程序
注意:安装程序需要口令,请向motorola公司索取。
4. 编写第一个程序
在目录"<install-dir>\motosdk\demo\midlets\com\mot\j2me\midlets\ tutorials\"中,用编辑器创建文件"helloworld.java"。
/* |
5. 编译
编译"helloword"
1. 在命令行窗口中,进入目录"<install-dir>\motosdk\demo\midlets"
2. 输入"compileall com\mot\j2me\midlets\tutorials\helloworld.java"
6. 运行
1.运行"helloword"
2. 输入"runemul com.mot.j2me.midlets.tutorials.helloworld"
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器