I posted this to the help forum on sourceforge and got
no response, hopefully someone on this list can
help...
I have a test application that uses JSR-75
(FileSystem) and JSR-135 (MMAPI). I believe it's
running correctly from the command line -- it gives
one error:
Implementation initialization
java.lang.ClassNotFoundException:
java.javax.microedition.media.TimeBase
org.microemu.app.Common.registerImplementation(Common.java:652)
but I think that's expected for the JSR-135 jar,
right?
In Eclipse, it can't seem to find either JSR jar. The
emulator starts up fine, but when I run my app by
clicking the button for "start", it gives a lengthy
error that begins with:
error Message: Error starting MIDlet: Unable to start
MIDlet,
javax.microedition.io.ConnectionNotFoundException:
connection [file] class not found
java.lang.RuntimeException:
javax.microedition.io.ConnectionNotFoundException:
connection [file] class not found
org.microemu.app.Common.startMidlet(Common.java:403)
java.lang.RuntimeException:
javax.microedition.io.ConnectionNotFoundException:
connection [file] class not found
EclipseME has Microemulator loaded, I verified it's on
the build path (along with all of its enclosed JSRs),
and have tried "--impl
org.microemu.cldc.file.FileSystem" under "extra
emulator parameters". It won't allow me to enter the
same classpath as I used on the command line under
"extra emulator parameters" because it is too long.
I have a config2.xml in the .microemulator folder in
my home directory that I've appended at the end.
How do I get the JSR jars to load in Eclipse /
EclipseME?
Thanks for your help!
config2.xml:
<config>
<files>
<recent MAXCAPACITY="0">
<midlet>
<name>exampleapp Midlet Suite</name>
<url>file:///tmp/_eclipseme.tmpme/exampleapp4942.launch/exampleapp.jad</url>
</midlet>
</recent>
</files>
<system-properties>
<system-property VALUE="MIDP-2.0"
NAME="microedition.profiles"/>
<system-property VALUE="CLDC-1.0"
NAME="microedition.configuration"/>
<system-property VALUE="true"
NAME="avetana.forceNativeLibrary"/>
</system-properties>
<windows>
<main ONSTART="true">
<x>0</x>
<y>1</y>
<width>226</width>
<height>526</height>
</main>
</windows>
<extensions>
<extension>
<className>org.microemu.cldc.file.FileSystem</className>
<properties>
<property VALUE="/home/me/appdb/filesystem/"
NAME="fsRoot"/>
</properties>
</extension>
<extension>
<className>java.javax.microedition.media.TimeBase</className>
</extension>
</extensions>
</config>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|