1. 下载SUN WTK(无线工具包) http://java.sun.com/products/sjwtoolkit/download.html 2. 安装SUN WTK # ./sun_java_wireless_toolkit-2_5_2-linux.bin 把协议看完,提示Do you agree to the above license terms? [yes or no] 输入yes,回车 0) Specify a path to a Java interpreter directory 指定系统中JAVA SDK的路径,比如我的是/opt/sun-jdk-1.5.0.13/bin 选择0回车,安装成功 3. 下载EclipseME http://sourceforge.net/project/showfiles.php?group_id=86829 4. 安装EcliseME # unzip eclipseme.feature_1.7.6_site.zip 将展开的features和plugins直接拷贝到/usr/lib/eclipse-3.2(Gentoo emerge后,Eclipse 3.2 SDK的路径) 5. 新建J2ME Midet Suite项目 screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://lcuc.org.cn/files/lcuc/J2ME_Midet_Suit.png');}" onmousewheel="return imgzoom(this);" alt="" /> 6. 管理设备 screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://lcuc.org.cn/files/lcuc/manage_devices.png');}" onmousewheel="return imgzoom(this);" alt="" /> 7. 导入设备 screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://lcuc.org.cn/files/lcuc/manage_devices_refresh.png');}" onmousewheel="return imgzoom(this);" alt="" /> 8. 新建J2ME Midet类 screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://lcuc.org.cn/files/lcuc/J2ME_Midet.png');}" onmousewheel="return imgzoom(this);" alt="" /> 9. 新建HelloWorld类 screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://lcuc.org.cn/files/lcuc/hellow_world_class.png');}" onmousewheel="return imgzoom(this);" alt="" /> 10. 以模拟J2ME Midet模式运行HelloWorld类 |
|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )
GMT+8, 2024-10-1 01:24 , Processed in 0.149154 second(s), 12 queries , Gzip On, MemCache On.
Powered by Discuz! X3.5
© 2001-2023 Discuz! Team.