eclipse中的J2ME程序保存出错
importjavax.microedition.lcdui.Display;importjavax.microedition.lcdui.Form;importjava...
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Form;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
public class Frist extends MIDlet {
private Form form;
public Frist() {
form = new Form("第一个MIDlet");
form.append("欢迎进入J2ME世界 ");
}
protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
// TODO Auto-generated method stub
}
protected void pauseApp() {
// TODO Auto-generated method stub
}
protected void startApp() throws MIDletStateChangeException {
// TODO Auto-generated method stub
Display.getDisplay(this).setCurrent(form);
}
}
这是保存时出现的错误
Errors occurred during the build.
Errors running builder 'Preverification' on project 'tt'.
D:\java\workspace\tt\.eclipseme.tmp\emulation\tt.jar (couldn't preserve last modification time)
D:\java\workspace\tt\.eclipseme.tmp\emulation\tt.jar (couldn't preserve last modification time)
D:\java\workspace\tt\.eclipseme.tmp\emulation\tt.jar (couldn't preserve last modification time)
D:\java\workspace\tt\.eclipseme.tmp\emulation\tt.jar (couldn't preserve last modification time)
我想问下这是怎么回事,是配置的问题吗?
这个是我eclipse的设定 展开
import javax.microedition.lcdui.Form;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
public class Frist extends MIDlet {
private Form form;
public Frist() {
form = new Form("第一个MIDlet");
form.append("欢迎进入J2ME世界 ");
}
protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
// TODO Auto-generated method stub
}
protected void pauseApp() {
// TODO Auto-generated method stub
}
protected void startApp() throws MIDletStateChangeException {
// TODO Auto-generated method stub
Display.getDisplay(this).setCurrent(form);
}
}
这是保存时出现的错误
Errors occurred during the build.
Errors running builder 'Preverification' on project 'tt'.
D:\java\workspace\tt\.eclipseme.tmp\emulation\tt.jar (couldn't preserve last modification time)
D:\java\workspace\tt\.eclipseme.tmp\emulation\tt.jar (couldn't preserve last modification time)
D:\java\workspace\tt\.eclipseme.tmp\emulation\tt.jar (couldn't preserve last modification time)
D:\java\workspace\tt\.eclipseme.tmp\emulation\tt.jar (couldn't preserve last modification time)
我想问下这是怎么回事,是配置的问题吗?
这个是我eclipse的设定 展开
4个回答
展开全部
你的程序没错,我在我的机子上运行了下。代码没错,你是不是配置有错啊。安装EclipseMe了吗?开发Me要安装这个插件。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
1,你设好环境变量了吗?
2,你用的那个环境(IDE)环境与jdk是否绑定。
3,你安装插件了吗?
2,你用的那个环境(IDE)环境与jdk是否绑定。
3,你安装插件了吗?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
重新建下工程 重新打包jar
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
参考资料: http://hi.baidu.com/jobenc/blog/item/b8a255da8ac356d7b6fd481e.html
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询