各位高手帮帮初学者的忙
我的程序不知道怎么了,总是报“** Error installing suite (40): Either the configuration or profile is not supported.”错误,我反复调试了好几遍还是这样,不知道该如何是好,请各位帮帮忙,解决一下,我是个初学者!!!
以下是我的程序全部:
package jsw.j2me.test;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.Ticker;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
public class J2METest extends MIDlet {
private Display display;
private Form form;
public J2METest() {
super();
display = Display.getDisplay(this);
}
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 {
form = new Form("J2ME Form Test");
form.setTicker(new Ticker("J2ME Ticker Test"));
form.append("J2ME Test~~~~~");
display.setCurrent(form);
}
}
------解决方案--------------------
Either the configuration or profile is not supported
CLDC 或 MIDP版本错误