• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 27.7k 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.
  • B
    BloodDragoon @Hex
    last edited by 29 Sept 2017, 00:29

    @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
    • H
      Hex
      last edited by 29 Sept 2017, 01:41

      @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

      B 1 Reply Last reply 29 Sept 2017, 02:06 Reply Quote 0
      • B
        BloodDragoon @Hex
        last edited by 29 Sept 2017, 02:06

        @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
        • H
          Hex
          last edited by 29 Sept 2017, 02:57

          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
          • B
            BloodDragoon
            last edited by 29 Sept 2017, 03:05

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

            1 Reply Last reply Reply Quote 0
            • I
              Inception
              last edited by 29 Sept 2017, 13:44

              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 29 Sept 2017, 13:52

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

                D B 2 Replies Last reply 29 Sept 2017, 14:29 Reply Quote 0
                • D
                  dankcushions Global Moderator @Inception
                  last edited by 29 Sept 2017, 14:29

                  @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
                  • B
                    BloodDragoon @Inception
                    last edited by 29 Sept 2017, 14:36

                    @inception That's prohibited...

                    1 Reply Last reply Reply Quote 0
                    • M
                      mardy
                      last edited by 15 Nov 2017, 09:49

                      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
                      • H
                        Hex
                        last edited by 15 Nov 2017, 19:33

                        @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
                        • S
                          SuperFromND
                          last edited by SuperFromND 13 Apr 2018, 20:33

                          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 19 Aug 2021, 03:23

                            @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 14 Sept 2021, 12:29

                              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

                              D 1 Reply Last reply 14 Sept 2021, 13:26 Reply Quote 0
                              • D
                                dankcushions Global Moderator @9cento
                                last edited by 14 Sept 2021, 13:26

                                @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 29 Jul 2022, 15:20

                                  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 9 Oct 2023, 14:56

                                    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 2 Jan 2024, 20:04 Reply Quote 0
                                    • R
                                      Retrodade @Retrodade
                                      last edited by 2 Jan 2024, 20:04

                                      @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
                                      • N
                                        neseh
                                        last edited by 26 Jan 2024, 16:28

                                        I have compiled the .so and the .jar files for libretro, even made a playlist but the games just don't open. Is it possible to run on Android?

                                        How do i install a MIDI driver on android btw?

                                        WODAKW 1 Reply Last reply 26 Jan 2024, 19:29 Reply Quote 0
                                        • WODAKW
                                          WODAK @neseh
                                          last edited by WODAK 26 Jan 2024, 19:29

                                          @neseh said in FreeJ2ME support thread:

                                          I have compiled the .so and the .jar files for libretro, even made a playlist but the games just don't open. Is it possible to run on Android?

                                          How do i install a MIDI driver on android btw?

                                          Greetings!

                                          Yes you can play J2ME games on Lineage from Konstakang on Raspberry Pi with program called J2ME Loader. It works realy well with controlers and also the button mappings works great.

                                          The great thing is that you can costomise profiles for each game.

                                          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.

                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]