On Feb 22 at 00:11 +0100, [email protected] wrote: > I've tried the modified jar-file. I still get an error, but it seems to > me that it could be solved. > > su > "password" > cd /FolderWhichContainsJarFileAndJadFile (in my case /MyData) > java -jar mnemojojo.jar > > Now the error message is the following: > > java.lang.ClassNotFoundException: mnemojojo/FireMIDlet > at java.lang.VMClass.ForName(Native Method) > at java.lang.VMClass.ForName(Class.java:233) > at jamvm.java.lang.JarLauncher.main(JarLauncher.java:46) > ClassNotFoundException: > http://javarevisited.blogspot.com/2011/08/classnotfoundexception-in-java-example.html > > Maybe interesting, Class-Path variable in manifest-file: > http://javarevisited.blogspot.com/2011/01/how-classpath-work-in-java.html
Thanks for the links. I've just updated the MANIFEST.MF in the jar
file (at the same url as before) to have:
Main-Class: FireMIDlet
You could also experiment with different values by unzipping the jar
file, changing MANIFEST.MF, and zipping it back up again.
> Could one of these be the problem?:
> MIDP 2.0, CLDC 1.1 and usually 0.5 to 1.0 megabytes of heap space.
That should be Ok.
> I haven't checked, if they are available. I'll check, if JSR-75 is
> available.
In any case, I would expect a different error message if JSR-75 is not
available.
Tim.
signature.asc
Description: Digital signature
