RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    FreeJ2ME support thread

    Scheduled Pinned Locked Moved Help and Support
    j2mesupport
    79 Posts 14 Posters 29.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • HexH
      Hex
      last edited by

      Kemulator is only for windows. I dont use Windows. Sorry

      Sent from 20,000 leagues under the sea.

      Powersaver Emulation station : https://github.com/hex007/EmulationStation
      ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

      BloodDragoonB 2 Replies Last reply Reply Quote 0
      • BloodDragoonB
        BloodDragoon @Hex
        last edited by

        @hex Have you tried a Virtual Machine? Or Wine?

        1 Reply Last reply Reply Quote 0
        • BloodDragoonB
          BloodDragoon @Hex
          last edited by

          @hex Hey, i saw your issue with the game Tower Bloxx on Github, tried it, there is no text on my screen, only select language screen in a white background and blue text, then it just shows the game's name and some kids in the background.

          1 Reply Last reply Reply Quote 0
          • HexH
            Hex
            last edited by

            @BloodDragoon Please post photos so its easier.

            Sent from 20,000 leagues under the sea.

            Powersaver Emulation station : https://github.com/hex007/EmulationStation
            ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

            BloodDragoonB 1 Reply Last reply Reply Quote 0
            • BloodDragoonB
              BloodDragoon @Hex
              last edited by

              @hex Here it is, also for some reason it also makes a small window in the top-left corner, didn't happen in ShadowWalker.

              0_1506650728775_Tower bloxx menu.png

              0_1506650754109_Select language towerbloxx.png

              1 Reply Last reply Reply Quote 0
              • HexH
                Hex
                last edited by

                try resizing the window once again. It will go away

                Sent from 20,000 leagues under the sea.

                Powersaver Emulation station : https://github.com/hex007/EmulationStation
                ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                1 Reply Last reply Reply Quote 0
                • BloodDragoonB
                  BloodDragoon
                  last edited by

                  Nope, if i hit maximize and minimize window, it comes back.

                  1 Reply Last reply Reply Quote 0
                  • I
                    Inception
                    last edited by

                    Here's a working build for these who doesn't want to deal with compiling:
                    http://www12.zippyshare.com/v/76BgJ1RF/file.html

                    1 Reply Last reply Reply Quote 0
                    • I
                      Inception
                      last edited by dankcushions

                      In case you need J2ME games, that's the biggest database i was able to find.
                      CENSORED

                      dankcushionsD BloodDragoonB 2 Replies Last reply Reply Quote 0
                      • dankcushionsD
                        dankcushions Global Moderator @Inception
                        last edited by

                        @inception said in FreeJ2ME support thread:

                        In case you need J2ME games, that's the biggest database i was able to find.
                        CENSORED

                        i've deleted the link - read the rules: https://retropie.org.uk/forum/topic/3/read-this-first

                        1 Reply Last reply Reply Quote 0
                        • BloodDragoonB
                          BloodDragoon @Inception
                          last edited by

                          @inception That's prohibited...

                          1 Reply Last reply Reply Quote 0
                          • M
                            mardy
                            last edited by

                            I'm getting an error when building the project on Ubuntu 16.04:

                            mardy@putinotto:~/src/git/freej2me$ JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 ant 
                            Buildfile: /home/mardy/src/git/freej2me/build.xml
                                 [echo] Building FreeJ2ME
                                 [echo] FreeJ2ME - AWT | JavaFx | Libretro | SDL
                                [javac] Compiling 4 source files to /home/mardy/src/git/freej2me/build/classes
                                [javac] /home/mardy/src/git/freej2me/src/org/recompile/freej2me/JavaFx.java:35: error: package javafx.application does not exist
                                [javac] import javafx.application.Application;
                                [javac]                          ^
                                [javac] /home/mardy/src/git/freej2me/src/org/recompile/freej2me/JavaFx.java:36: error: package javafx.application does not exist
                                [javac] import javafx.application.Platform;
                                [javac]                          ^
                            

                            The log continues with more errors, but I believe they are all related to these ones. I have installed the libopenjfx-java package, but that doesn't seem to help. Anyone has got any hints on how to build it in Ubuntu?

                            1 Reply Last reply Reply Quote 0
                            • HexH
                              Hex
                              last edited by

                              @mardy On desktop you might not need the JavaFx build. You can edit the build file to skip javafx build and use the AWT build.

                              Delete this code from build.xml file

                              
                              	<echo message="Building JAR - JavaFx" />
                              	<jar
                              		destfile="build/freej2me-fx.jar"
                              		basedir="build/classes">
                              		<fileset dir="resources" />
                              		<metainf dir="META-INF" />
                              		<manifest>
                              			<!-- JavaFx Version -->
                              			<attribute name="Main-Class" value="org.recompile.freej2me.Main"/>
                              			<attribute name="Implementation-Title" value="FreeJ2ME"/>
                              		</manifest>
                              	</jar>
                              

                              Sent from 20,000 leagues under the sea.

                              Powersaver Emulation station : https://github.com/hex007/EmulationStation
                              ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                              1 Reply Last reply Reply Quote 0
                              • SuperFromNDS
                                SuperFromND
                                last edited by SuperFromND

                                Compiling on a Raspberry Pi 3, getting this:
                                https://hastebin.com/uqosiyopeb

                                My guess is that I'm trying to compile using a JVM/JRE that's too old and thus flips out at more modern code? (it's OpenJDK 7, so that shouldn't be the case...)

                                EDIT: Never mind, just realized there's install instructions for the Pi in the package folder.

                                EDIT 2: Okay, now I'm getting:

                                Exception in thread "main" java.lang.UnsupportedClassVersionError: org/recompile/freej2me/Libretro : Unsupported major.minor version 52.0
                                	at java.lang.ClassLoader.defineClass1(Native Method)
                                	at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
                                	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
                                	at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
                                	at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
                                	at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
                                	at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
                                	at java.security.AccessController.doPrivileged(Native Method)
                                	at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
                                	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
                                	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
                                	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
                                	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
                                

                                on the libretro core, in all games.

                                Using oracle-java8-jdk.

                                EDIT 3: Okay, installing the openjdk-8-jre package fixed this. The core works now!

                                In case you can't compile it yourself, the libretro core can be found in the packages folder in this pre-compiled version on Sourceforge, courtesy of @recompile. From there, you should be able to follow retropie.txt, also present in the packages folder.

                                ▲▼▲▼▲▼▲▼▲▼
                                IKEMEN Go
                                SRB2Kart
                                ▼▲▼▲▼▲▼▲▼▲

                                1 Reply Last reply Reply Quote 2
                                • G
                                  grouchog @Hex
                                  last edited by

                                  @hex Hi, I know this topic is super old, but I was having some trouble with FreeJ2ME and thought I'd start here instead of github. I'm trying to get Resident Evil Degeneration running, and it IS running, but I'm not able to get past this screen. The program isn't accepting any keystrokes, though if I hit escape I am able to get to the game options menu. As far as I can tell all the info in my config file is correct. At a bit of a loss here! ![alt text](Screenshot 2021-08-18 202246.png Screenshot 2021-08-18 202207.png image url)

                                  1 Reply Last reply Reply Quote 0
                                  • 9
                                    9cento
                                    last edited by

                                    Where can I find "freej2me_libretro.dll"? (in short, the Retroarch core for Windows). I know it exists somewhere but all I found searching the web left and right were some mentions on random Github codes. Help plz

                                    dankcushionsD 1 Reply Last reply Reply Quote 0
                                    • dankcushionsD
                                      dankcushions Global Moderator @9cento
                                      last edited by

                                      @9cento it's not in the buildbot so it's likely it's not automatically built: https://buildbot.libretro.com/nightly/windows/x86/latest/

                                      possibly because it doesn't build on windows at all: https://github.com/hex007/freej2me/issues/92

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        gameronthemoon
                                        last edited by

                                        How can I rebind the key? I'd like to move the "Action"/"Center" button to space/further away from the arrow keys and the numpad.
                                        Call me lazy for not read through the source code but would you kindly point me to the files and methods that handle keybinding?

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          Retrodade
                                          last edited by Retrodade

                                          can someone help? i am on retropie 4b and it always worked. i checked to see if Free J2ME had an update, now my games boot back from the external drive, but if i pull drive and put directly to the SD card its fine, somehow the update took the ability away from loading a game from my external drive.. what can be done to fix this? thanks

                                          runcommand.log error shows this:

                                          Parameters:
                                          Executing: SDL_VIDEO_KMSDRM_CRTCID=87 SDL_VIDEO_KMSDRM_MODEID=38 /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-freej2me/freej2me_libretro.so --config /opt/retropie/configs/j2me/retroarch.cfg "/home/pi/RetroPie/roms/j2me/Bowling.jar" --appendconfig /dev/shm/retroarch.cfg
                                          Exception in thread "main" java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
                                          at java.desktop/java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
                                          at java.desktop/java.awt.image.BufferedImage.<init>(BufferedImage.java:333)
                                          at org.recompile.freej2me.Libretro.<init>(Libretro.java:103)
                                          at org.recompile.freej2me.Libretro.main(Libretro.java:73)

                                          R 1 Reply Last reply Reply Quote 0
                                          • R
                                            Retrodade @Retrodade
                                            last edited by

                                            @Retrodade said in FreeJ2ME support thread:

                                            can someone help? i am on retropie 4b and it always worked. i checked to see if Free J2ME had an update, now my games boot back from the external drive, but if i pull drive and put directly to the SD card its fine, somehow the update took the ability away from loading a game from my external drive.. what can be done to fix this? thanks

                                            runcommand.log error shows this:

                                            Parameters:
                                            Executing: SDL_VIDEO_KMSDRM_CRTCID=87 SDL_VIDEO_KMSDRM_MODEID=38 /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-freej2me/freej2me_libretro.so --config /opt/retropie/configs/j2me/retroarch.cfg "/home/pi/RetroPie/roms/j2me/Bowling.jar" --appendconfig /dev/shm/retroarch.cfg
                                            Exception in thread "main" java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
                                            at java.desktop/java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
                                            at java.desktop/java.awt.image.BufferedImage.<init>(BufferedImage.java:333)
                                            at org.recompile.freej2me.Libretro.<init>(Libretro.java:103)
                                            at org.recompile.freej2me.Libretro.main(Libretro.java:73)

                                            anyone? know why on extremal drive it boots back when it worked before trying to update emulator?
                                            error is above

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.