我使用的是CLDC 1.1 +MIDP2.0。“编译器合规性级别”被设置为1.4。当我将"Compiler compliance level“设置为1.6时,我得到以下错误:"ALERT: java/lang/ClassFormatError: Bad version information如何在J2ME中使用Java1.6?
来编译我的代码--它包含以下内容:
public class ContactsActivity extends ListActivity implements AdapterView.OnItemClickListener我应该只是耸肩说,“好吧,这样就行了,我就忘了它吧”,还是有什么邪恶的东西在潜伏着/隐藏着什么问题?
我一直在使用Eclipse学习Java,但在尝试使用printf时遇到了一个问题。我一直收到错误消息:"The method printf(String, Object[]) in the type PrintStream is not applicable for the arguments(String, int)"public class Lesson25 {
public static void main(String[]