当前位置: 技术问答>java相关
jb8+mobile set3.1+nokia develop suit但是编译不了自带的hello world!
来源: 互联网 发布时间:2017-04-30
本文导语: 提示出错: "HelloWorldMidlet.java": Error #: 302 : cannot access class javax.microedition.midlet.MIDlet; java.io.IOException: class not found: class javax.microedition.midlet.MIDlet at line 22, column 34 "HelloWorldMidlet.java": Error #: 302 : cannot acce...
提示出错:
"HelloWorldMidlet.java": Error #: 302 : cannot access class javax.microedition.midlet.MIDlet; java.io.IOException: class not found: class javax.microedition.midlet.MIDlet at line 22, column 34
"HelloWorldMidlet.java": Error #: 302 : cannot access class javax.microedition.lcdui.Display; java.io.IOException: class not found: class javax.microedition.lcdui.Display at line 23, column 33
"HelloWorldMidlet.java": Error #: 300 : class MIDlet not found in class com.borland.jbuilder.samples.micro.helloworld.HelloWorldMidlet at line 28, column 39
"HelloWorldForm.java": Error #: 704 : cannot access directory javaxmicroeditionlcdui at line 22, column 1
"HelloWorldForm.java": Error #: 300 : class Form not found in class com.borland.jbuilder.samples.micro.helloworld.HelloWorldForm at line 27, column 37
jdk1.41
j2me wireless 1.0.4_01都有了
什么回事?莫非是jb8的问题?
"HelloWorldMidlet.java": Error #: 302 : cannot access class javax.microedition.midlet.MIDlet; java.io.IOException: class not found: class javax.microedition.midlet.MIDlet at line 22, column 34
"HelloWorldMidlet.java": Error #: 302 : cannot access class javax.microedition.lcdui.Display; java.io.IOException: class not found: class javax.microedition.lcdui.Display at line 23, column 33
"HelloWorldMidlet.java": Error #: 300 : class MIDlet not found in class com.borland.jbuilder.samples.micro.helloworld.HelloWorldMidlet at line 28, column 39
"HelloWorldForm.java": Error #: 704 : cannot access directory javaxmicroeditionlcdui at line 22, column 1
"HelloWorldForm.java": Error #: 300 : class Form not found in class com.borland.jbuilder.samples.micro.helloworld.HelloWorldForm at line 27, column 37
jdk1.41
j2me wireless 1.0.4_01都有了
什么回事?莫非是jb8的问题?
|
在JBuilder中编译,就要把JBuilder中的project的path设置正确(注意:不是windows的classpath)
project->project properties->JDK(这里设成j2me wireless 1.0.4_01的路径或者是nokia suit的路径)
project->project properties->JDK(这里设成j2me wireless 1.0.4_01的路径或者是nokia suit的路径)
|
class path 有问题
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。