eclipse中配置j2me,简单运行j2me程序

1.安装好jdk
2.去官网上下载好eclipse, 去eclipseme.org上下载eclipseme,http://www.oracle.com/technetwork/java/download-135801.html下载

(wiress toolkit)wtk,WTK需要安装。
3.进入eclipse选择help
4.选择install new software
5.点击add
6.在Add Repository中点击archive...
7.选择下载好的eclipseme.feature包,zip格式的
8.ok
9.选择select all
10.next
11.next
12.选择I accept the terms of the licese agreement
13.finish在安装期间要联网,有东西从网上download
14.安装完毕,选择重启eclipse
15.选择window中的preferences
16.选择j2me->Device Management->import
17.选择你安装好的wtk文件夹,例如:D:/WTK2.5.2_01
18.Refresh
19.Select All
20.选择一个设备,默认就行
21.Apply
22.ok
23.选择File->new->other->j2me->j2me midlet suite
24.next后输入项目名称,next,next
25.finish
26.项目创建完成,右键src->new->j2me->j2me midlet
27.name中输入类名hello,finish
28.在hello中输入

29.右键项目名run as->run configurations->右键wireless toolkit emulator->new
30.可以把name中的new_configuration改成你自己的名
31.在executable中选择midlet->search
32.选择hello,如果有包名,带上包的名称
33.ok
34.点击apply
35.点击run

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值