Package Details: libretro-freej2me-plus-git 1.52.r1181.331ee719-1

Git Clone URL: https://aur.archlinux.org/freej2me-plus-git.git (read-only, click to copy)
Package Base: freej2me-plus-git
Description: A free J2ME emulator with libretro, awt frontends. (Libretro core)
Upstream URL: https://github.com/TASEmulators/freej2me-plus
Keywords: freej2me games j2me jave
Licenses: custom, GPL-3.0-only
Conflicts: libretro-freej2me-plus
Provides: libretro-freej2me-plus
Submitter: yjun
Maintainer: None
Last Packager: yjun
Votes: 0
Popularity: 0.000000
First Submitted: 2025-05-23 17:04 (UTC)
Last Updated: 2026-01-16 16:20 (UTC)

Dependencies (5)

Required by (0)

Sources (3)

Latest Comments

lllEBOlll commented on 2026-10-02 22:45 (UTC)

The current PKGBUILD needs several updates for the current upstream revision (tested with commit 6c10634d, 2026-10-02).

I got the package building successfully with these changes:

  1. pkgver(): AWTGUI.java no longer contains the version string. It has moved to FJGUI.java.

Change: src/org/recompile/freej2me/AWTGUI.java

to: src/org/recompile/freej2me/FJGUI.java

  1. Java version: The current source still uses Java 5 source/target settings, which fail with newer JDKs:

error: Source option 5 is no longer supported

JDK 8 works. I changed makedepends from jdk11-openjdk to jdk8-openjdk and used:

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk export PATH="$JAVA_HOME/bin:$PATH"

  1. Output JAR names changed. The build now creates:

build/freej2me_plus.jar build/freej2me_plus-lr.jar

instead of:

build/freej2me.jar build/freej2me-lr.jar

  1. The libretro output names also changed. The current build creates:

src/libretro/freej2me_plus_libretro.so src/libretro/freej2me_plus_libretro.info

instead of the old freej2me_libretro.* names.

  1. The split package architecture workaround mentioned in the previous comments is still needed: global arch=('x86_64'), with arch=('any') in package_freej2me-plus-git().

With these changes, makepkg -s successfully built both:

freej2me-plus-git 1.53.r1561.6c10634d-1

and

libretro-freej2me-plus-git 1.53.r1561.6c10634d-1.

This was tested on Arch Linux on 2026-10-03.

asart commented on 2026-01-14 03:44 (UTC) (edited on 2026-01-14 03:49 (UTC) by asart)

Tried building in a clean chroot; two issues:

Split-package arch mismatch:

==> ERROR: Overridden arch in package_libretro-freej2me-plus-git() contains value not in global directive: 'x86_64'

Workaround: set global arch=('x86_64') and added arch=('any') in package_freej2me-plus-git().

javac target too old:

[javac] error: Source option 6 is no longer supported. Use 8 or later.

I am not sure what Java version upstream targets; as a workaround I added jdk8-openjdk to makedepends and set JAVA_HOME in build().

After that, build succeeds.

yjun commented on 2025-12-10 15:27 (UTC)

@lllEBOlll Fixed. :)

lllEBOlll commented on 2025-12-08 22:07 (UTC)

This is unfortunately not building for me in the current build.