FreeJ2ME support thread
-
@blooddragoon Try running it from the command line.
In Windows 8, iirc, type cmd from the start screen and open the command prompt. Navigate to the build directory (you could type the whole path, e.g. cd c:\users\blooddragon\whatever\build) and run
java -jar freej2me.jar
Paste what it spits out. With luck, that'll be enough to solve this mystery.
-
@recompile Microsoft Windows [Versión 6.2.9200]
C:\Windows\system32>cd C:\Users\Dragonkilah!\freej2me\buildC:\Users\Dragonkilah!\freej2me\build>java -jar freej2me.jar
Can't Read Jar Manifest!
java.io.FileNotFoundException: C:\Users\Dragonkilah (El sistema no puede encontr
ar el archivo especificado)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.<init>(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Sour
ce)
at java.net.URL.openStream(Unknown Source)
at org.recompile.mobile.MIDletLoader.loadManifest(MIDletLoader.java:172)at org.recompile.mobile.MIDletLoader.<init>(MIDletLoader.java:84) at org.recompile.mobile.MobilePlatform.loadJar(MobilePlatform.java:155) at org.recompile.freej2me.FreeJ2ME.<init>(FreeJ2ME.java:180) at org.recompile.freej2me.FreeJ2ME.main(FreeJ2ME.java:36)
Problem Constructing null class: null
Reason: null
java.lang.NullPointerException
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.recompile.mobile.MIDletLoader.start(MIDletLoader.java:106)
at org.recompile.mobile.MobilePlatform.runJar(MobilePlatform.java:171)
at org.recompile.freej2me.FreeJ2ME.<init>(FreeJ2ME.java:185)
at org.recompile.freej2me.FreeJ2ME.main(FreeJ2ME.java:36)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.recompile.mobile.MobilePlatform.pointerReleased(MobilePlatform.ja
va:119)
at org.recompile.freej2me.FreeJ2ME$5.mouseReleased(FreeJ2ME.java:144)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP
rivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP
rivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP
rivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)C:\Users\Dragonkilah!\freej2me\build>
-
@recompile It opened up the .jar, selected Medal of Honor 2D, that's what it outputs.
-
@BloodDragoon Do you have ShadoWalker Game? try that. That is the one we both used initially for development and I finished the entire game while testing stability. So that game definitely works all the way. Check it out and let me know
-
@recompile Tried the VM, now it just goes to a black screen, Java 8, Update 66.
-
@hex No, i'll get it now, i'll reply tommorrow, bed time...
-
@blooddragoon There it is:
C:\Users\Dragonkilah!\freej2me\build
There's a very old bug related to exclamation points in paths:
http://bugs.java.com/view_bug.do?bug_id=4523159Try moving freej2me.jar and the game to a simply named directory off root. Something like
c:\j2me
and running it from there.If moving the files works, then we'll know that that's the problem.
-
@recompile So simple. Way to go
-
@hex Hopefully. I guess we'll find out tomorrow.
-
@recompile You can try to test it too. I tried on my Linux system and it crashes with file not found, same as above. This is certainly the case. The error message is exactly the same.
-
@hex Excellent. I suspect this can be fixed the same way as suggested in the bug report (replacing ! with %21) as the problem reported with that fix won't apply.
-
@recompile I dismissed that cause as @BloodDragoon had it working with the Sourceforge build. Strange.
-
@hex I suppose it's possible he had it somewhere other than under his user directory. Maybe even on a flash drive.
-
@recompile @Hex I had it in my Downloads folder as i show in my videos, "Descargas", that means "Downloads", and i moved it to my local disk C:, still nothin'...
-
@recompile ARE YOU KIDDING ME! HAHAHA! THAT WORKED!
-
@recompile @Hex Thanks a bunch! :D Now, what are the controls!
-
-
@Hex @recompile FreeJ2ME and games located in: C:\Program Files\j2me\freej2me\build
-
@blooddragoon said in FreeJ2ME support thread:
@recompile @Hex Thanks a bunch! :D Now, what are the controls!
Q and W for soft1 and soft2, E and R are alternatives to * and #. Arrow keys for nav, unless you turn nokia off, when arrow keys become 2,4,6,and 8. Numbers work as expected, the number pad is inverted (123 swap with 789, like a phone) ESC brings up the menu. Also, enter functions as '5'
-
@recompile Ah okay! Thanks!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.