Hi Tim, thank you for the response.
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 Could one of these be the problem?: MIDP 2.0, CLDC 1.1 and usually 0.5 to 1.0 megabytes of heap space. I haven't checked, if they are available. I'll check, if JSR-75 is available. Bye, Abakus P.S.: If I have time, I'll try to compile mnemojojo. (I don't have any experience with java) ----- Original Nachricht ---- Von: Timothy Bourke <[email protected]> An: [email protected] Datum: 21.02.2012 20:01 Betreff: Re: [mnemosyne-proj-users] Mnemojojo on iphone, ipod touch > Hi Abakus, > > On Feb 21 at 15:17 +0100, [email protected] wrote: > > has anybody installed mnemojojo on a jailbroken iphone or ipod touch? > > > > I've tried to, but I am stuck (probably because I am not familiar > > with java). > > > > I've successfully installed java on my ipod touch 4.2.1. I've copied > > the jad- and the jar-file on the device. > > > > Failed to install the jar-file with this command: java -jar > > mnemojojo_5.jar > > > > This error occurs: "Couldn't find Main-Class attribute in mnemojojo_5.jar > > Manifest." > > > > Any hints / ideas, how to install mnemojojo? (Java is installed and > > "HelloWorld.class" works) > > I personally don't know of anyone else who has tried this, but it > should work provided JSR-75 (file access) is available. I say should, > but, unfortunately, each J2ME environment seems to have its own > idiosyncrasies. > > It may be as simple as adding this line to the MANIFEST.MF file in the > jar: > Main-Class: mnemojojo.FireMIDlet > > I've put a modified jar file here: > http://www.tbrk.org/distfiles/mnemojojo.jar > > It would be interesting if that fixed the problem, because it might > also resolve the strange errors that occur on some phones. > > The source code and notes on building Mnemojojo can be found here: > http://www.tbrk.org/software/mnemogogo-devel.html#jojo > > Tim. > > -- You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mnemosyne-proj-users?hl=en.
