J2me环境搭建

it2022-05-26  77

1,安装JDK1.6 2, 安装Eclipse SDK V3.4.2 解压到指定目录即可 3, 安装WTK 一路next,注意路径选择【一会要用】4, 在Eclipse 中配置: eclipseme插件安装. help-->software updates-->available Software(面板), -->Add Site -->Archive(选择eclipseme插件文件) 确定之后你会在发现一个 ar:file:E:\tool\java\eclipseme.feature_1.7.9_site.zip!/(file:后面的根据你的路径会不一样), 然后选 中这个,再点击右边菜单install,安装过后eclipse会提示是否重启eclipse,选重启这个时候已经安装完啦。

5、重启后配置window-->Preferences找到J2ME下的Device Managerment ,右边菜单Import,选择刚才wtk的安装路径,点击Refresh后,选择DefaultColorPhone,OK。现在整个开发环境已经配置好啦

6,编写第一个程序 public IwitHello()  {  super();    // TODO Auto-generated constructor stub    Form form=new Form("Hello World!");    form.append("Hello World!");    Display.getDisplay(this).setCurrent(form);  }

转载于:https://www.cnblogs.com/hxycn/archive/2010/07/02/1769786.html

相关资源:数据结构—成绩单生成器

最新回复(0)