# FreeJ2ME-Plus

> Built from commit 3effc4a043e0 on 2026-11-24. The current build: https://abdess.github.io/retrobios/version.json

Source: https://abdess.github.io/retrobios/emulators/freej2me_plus/

FreeJ2ME-Plus emulates Java J2ME. It reads 3 files, 1 of them required: without a required file it does not start games.

**About this profile**

| Detail | Value |
|---|---|
| Type | libretro |
| Classification | Enhanced fork |
| Source | [https://github.com/TASEmulators/freej2me-plus](https://github.com/TASEmulators/freej2me-plus) |
| Upstream | [https://github.com/hex007/freej2me](https://github.com/hex007/freej2me) |
| Version | 1.53, stated in [`src/libretro/freej2me_libretro.c`](https://github.com/TASEmulators/freej2me-plus/blob/869a16b28ffd366722f419f8bac4a7cfe60d69a3/src/libretro/freej2me_libretro.c) |
| Revision | [TASEmulators/freej2me-plus@869a16b28ffd](https://github.com/TASEmulators/freej2me-plus/commit/869a16b28ffd366722f419f8bac4a7cfe60d69a3), [hex007/freej2me@8b9bc8a19baf](https://github.com/hex007/freej2me/commit/8b9bc8a19baf26e3d92f88934a64a32f1cbc2795) |
| Run by | [AmberELEC](https://abdess.github.io/retrobios/platforms/amberelec/), [EmuDeck](https://abdess.github.io/retrobios/platforms/emudeck/), [Lakka](https://abdess.github.io/retrobios/platforms/lakka/), [RetroArch](https://abdess.github.io/retrobios/platforms/retroarch/), [RetroDECK](https://abdess.github.io/retrobios/platforms/retrodeck/), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/) |
| Profiled | 2026-10-04 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/freej2me_plus.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/freej2me_plus.json) |
| Cores | freej2me_plus, freej2me-plus |
| Systems | [Java J2ME](https://abdess.github.io/retrobios/systems/java/#j2me) |

**Install this emulator's files**

The installer finds the setup and its BIOS folder, then downloads only the files this emulator reads there and checks each one.

**Windows:**

Open Start. Type **PowerShell**, press Enter. Click Copy. Right-click to paste. Press Enter.

PowerShell

```
&([scriptblock]::Create((irm https://abdess.github.io/retrobios/i.ps1))) --emulator freej2me_plus
```

**macOS:**

Press Cmd+Space. Type **Terminal**, press Return. Click Copy. Press Cmd+V. Press Return.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator freej2me_plus
```

**Linux:**

Open a terminal, often with Ctrl+Alt+T. Click Copy. Press Ctrl+Shift+V. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator freej2me_plus
```

**Steam Deck:**

Hold power, pick **Switch to Desktop**. Open **Konsole**. Click Copy. Press Ctrl+Shift+V. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator freej2me_plus
```

**Android (Termux):**

Install **Termux**, a terminal app. Paste the line. Press Enter. Accept the Python install and allow the storage access Android asks for.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator freej2me_plus
```

**On the device:**

Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator freej2me_plus
```

**Technical notes**

Fork of FreeJ2ME adding phone-specific APIs (Siemens, Nokia, Motorola, KDDI, SKT, DoJa, JBlend, Mascot Capsule V3, M3G), KJX loading and more core options. The native core is a C bridge: retro_init reads the system directory, checks that freej2me_plus-lr.jar exists there and spawns java -jar with the file encoding and the screen size as arguments, then drives the Java process over pipes. Windows launches javaw through CreateProcess with the system directory as starting directory, while Linux and macOS fork, chdir() into it and execvp() java. A Java runtime must be on the host PATH, and the start failure message asks for Java 6 or newer. The jar is built by ant from build.xml, which writes the libretro variant as freej2me_plus-lr.jar. ref: src/libretro/freej2me_libretro.c:39-46, src/libretro/freej2me_libretro.c:875-904, src/libretro/freej2me_libretro.c:1567-1593, src/libretro/freej2me_libretro.c:1690-1699, src/libretro/freej2me_libretro.h:80, build.xml:86-99

Only existence is tested. When the jar is absent the core posts the SYSTEM_NOT_FOUND message and returns from retro_init before any process is created, so nothing loads. The message text still names freej2me-lr.jar, the file the original core opens. This core opens freej2me_plus-lr.jar. ref: src/libretro/freej2me_libretro.c:340-347, src/libretro/freej2me_libretro.c:867-873, src/libretro/freej2me_libretro.h:73-79

Every relative path the jar opens resolves against the system directory, since the Java process starts there. freej2me_system/ is created on first run and holds freej2me.conf (written with defaults when missing, then overridden by the core options the bridge sends), FreeJ2ME.log, and the SiemensData/ and XceData/ directories that the Siemens and XCE file APIs write to. FreeJ2MEDumps/KDDI/ receives the jar and jad extracted from a .kjx. Saves go to <save_dir>/freej2me/ (rms/<suite>/, the suite name with any of /:*?"<>| replaced by an underscore, and config/<suite>/game.conf), falling back to the system directory when the frontend has no save directory. ref: src/org/recompile/freej2me/Config.java:47-48, src/org/recompile/freej2me/Config.java:188-208, src/org/recompile/mobile/Mobile.java:119-121, src/org/recompile/mobile/Mobile.java:133, src/libretro/freej2me_libretro.c:937-945, src/org/recompile/freej2me/Libretro.java:201-205, src/javax/microedition/rms/RecordStore.java:111-112, 1134

Two files are user supplied and optional. With the freej2me_midifont core option on, Manager.checkCustomMidi loads the first .sf2 or .gm listed in freej2me_system/customMIDI/ as the MIDI soundbank. Off, or with the directory empty, the JVM default soundbank is used. With freej2me_textfont on, PlatformFont loads the first .ttf, .otf or .ttc in freej2me_system/customFont/. Off, the AWT SansSerif, Monospaced and Dialog faces are used. Both directories are created with a placeholder file when missing, and neither file has a fixed name. ref: src/libretro/freej2me_libretro.c:465-470, src/libretro/freej2me_libretro.c:481-486, src/org/recompile/freej2me/Libretro.java:240, src/org/recompile/freej2me/Libretro.java:254, src/org/recompile/mobile/Mobile.java:1048-1056, src/javax/microedition/media/Manager.java:56, src/javax/microedition/media/Manager.java:330-353, src/org/recompile/mobile/PlatformFont.java:63, src/org/recompile/mobile/PlatformFont.java:133-154

## Files

**3 files**: 1 required, 2 optional.

By kind: 1 BIOS and 2 game data.

In this collection: 1 in repo, 0 missing and 2 unsourceable.

## Required

### `freej2me_plus-lr.jar` required in repo

FreeJ2ME-Plus libretro Java application

- System: [Java J2ME](https://abdess.github.io/retrobios/systems/java/#j2me)
- Java program the native core launches with java -jar from the system directory root. Built by ant from build.xml at the pinned revision. The code reads no size and no hash.

- Collection copy: [`bios/Java/J2ME/freej2me_plus-lr.jar`](https://abdess.github.io/retrobios/systems/java/#sha1-a3ae578e02fe)

**Validation and source**

- Validation: existence
- Asked for by: libretro glue, upstream emulator and emulator code, libretro port
- Source: [`src/libretro/freej2me_libretro.c:39-46`](https://github.com/TASEmulators/freej2me-plus/blob/869a16b28ffd366722f419f8bac4a7cfe60d69a3/src/libretro/freej2me_libretro.c#L39-L46) (freej2meapp) (libretro glue), [`src/libretro/freej2me_libretro.c:860-876`](https://github.com/TASEmulators/freej2me-plus/blob/869a16b28ffd366722f419f8bac4a7cfe60d69a3/src/libretro/freej2me_libretro.c#L860-L876) (GET_SYSTEM_DIRECTORY, freej2me_present, SYSTEM_NOT_FOUND_MSG) (libretro glue), [`src/libretro/freej2me_libretro.c:340-347`](https://github.com/TASEmulators/freej2me-plus/blob/869a16b28ffd366722f419f8bac4a7cfe60d69a3/src/libretro/freej2me_libretro.c#L340-L347) (access F_OK) (libretro glue), [`src/libretro/freej2me_libretro.c:893-904`](https://github.com/hex007/freej2me/blob/8b9bc8a19baf26e3d92f88934a64a32f1cbc2795/src/libretro/freej2me_libretro.c#L893-L904) (java -jar argv) (upstream emulator), [`build.xml:86-99`](https://github.com/TASEmulators/freej2me-plus/blob/869a16b28ffd366722f419f8bac4a7cfe60d69a3/build.xml#L86-L99) (destfile) (emulator code, libretro port)

## Game data

### `<soundfont>.sf2` optional unsourceable game data

MIDI soundbank for J2ME audio

- Path: `freej2me_system/customMIDI/<soundfont>.sf2`
- System: [Java J2ME](https://abdess.github.io/retrobios/systems/java/#j2me)
- First .sf2 or .gm in the directory listing, loaded through MidiSystem.getSoundbank when the freej2me_midifont option is on. A rejected file is logged and the JVM default soundbank stays.
- Not collected yet: user supplied, no canonical file ([files not collected yet](https://abdess.github.io/retrobios/gaps-not-collected/))

**Source**

- Asked for by: emulator code, libretro port
- Source: [`src/javax/microedition/media/Manager.java:56`](https://github.com/TASEmulators/freej2me-plus/blob/869a16b28ffd366722f419f8bac4a7cfe60d69a3/src/javax/microedition/media/Manager.java#L56) (emulator code, libretro port), [`src/javax/microedition/media/Manager.java:330-353`](https://github.com/TASEmulators/freej2me-plus/blob/869a16b28ffd366722f419f8bac4a7cfe60d69a3/src/javax/microedition/media/Manager.java#L330-L353) (emulator code, libretro port), [`src/org/recompile/mobile/Mobile.java:1048-1050`](https://github.com/TASEmulators/freej2me-plus/blob/869a16b28ffd366722f419f8bac4a7cfe60d69a3/src/org/recompile/mobile/Mobile.java#L1048-L1050) (emulator code, libretro port)

### `<font>.ttf` optional unsourceable game data

TrueType font for J2ME text

- Path: `freej2me_system/customFont/<font>.ttf`
- System: [Java J2ME](https://abdess.github.io/retrobios/systems/java/#j2me)
- First .ttf, .otf or .ttc in the directory listing, loaded through Font.createFont when the freej2me_textfont option is on. A rejected file is logged and the AWT faces stay.
- Not collected yet: user supplied, no canonical file ([files not collected yet](https://abdess.github.io/retrobios/gaps-not-collected/))

**Source**

- Asked for by: emulator code, libretro port
- Source: [`src/org/recompile/mobile/PlatformFont.java:63`](https://github.com/TASEmulators/freej2me-plus/blob/869a16b28ffd366722f419f8bac4a7cfe60d69a3/src/org/recompile/mobile/PlatformFont.java#L63) (emulator code, libretro port), [`src/org/recompile/mobile/PlatformFont.java:133-154`](https://github.com/TASEmulators/freej2me-plus/blob/869a16b28ffd366722f419f8bac4a7cfe60d69a3/src/org/recompile/mobile/PlatformFont.java#L133-L154) (emulator code, libretro port), [`src/org/recompile/mobile/Mobile.java:1054-1056`](https://github.com/TASEmulators/freej2me-plus/blob/869a16b28ffd366722f419f8bac4a7cfe60d69a3/src/org/recompile/mobile/Mobile.java#L1054-L1056) (emulator code, libretro port)

## Next steps

- [Get the files](https://abdess.github.io/retrobios/which-pack/), for the setup in use
- [Every system](https://abdess.github.io/retrobios/systems/), and the files each one needs
- [When a game does not start](https://abdess.github.io/retrobios/wiki/troubleshooting/)

Data as of 24 November 2026.
