FreeJ2ME support thread
-
Here's a working build for these who doesn't want to deal with compiling:
http://www12.zippyshare.com/v/76BgJ1RF/file.html -
In case you need J2ME games, that's the biggest database i was able to find.
CENSORED -
@inception said in FreeJ2ME support thread:
In case you need J2ME games, that's the biggest database i was able to find.
CENSOREDi've deleted the link - read the rules: https://retropie.org.uk/forum/topic/3/read-this-first
-
@inception That's prohibited...
-
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? -
@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>
-
Compiling on a Raspberry Pi 3, getting this:
https://hastebin.com/uqosiyopebMy 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 thepackage
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.Usingoracle-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 followretropie.txt
, also present in thepackages
folder. -
@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]( image url)
-
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
-
@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
-
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? -
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) -
@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 -
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?
-
@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.
-
Hi there!
I'm having trouble installing the freeJ2ME core in my raspberry pi 3 with retropie.
I followed this guide here:
https://github.com/hex007/freej2me/blob/master/src/libretro/retropie.txtI tried to install the Oracle's JDK by running this command:
sudo apt-get install oracle-java8-jdk
but it said there was no package,I was only able to install the OpenJDK.
Then I followed the next steps, no errors this time.
Now I can select the J2ME platform on emulationstation and enter the game's list, but when I select the game, the screen goes black and sends me back to the game's list.
Any help?
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.