hex007 / freej2me

A free J2ME emulator with libretro, awt and sdl2 frontends.
Other
486 stars 75 forks source link

Is there any plan to support other multimedia library? #179

Open ohayoyogi opened 1 year ago

ohayoyogi commented 1 year ago

Is there any plan to support other multimedia library such as SDL2(with JNI)?

Currently, freej2me depends on AWT and makes it difficult to be ported to other platform which does not have awt.

I think it would be nice if media libraries could be switched by necessities. How do you think about this?

AShiningRay commented 11 months ago

...such as SDL2(with JNI)?

It's already supported through freej2me-sdl. It's pretty barebones for sure, but it's there.

Personally i don't use it much, and AWT support is already present in some form on all major systems that can run Java, making Java itself more of an impediment than AWT... are there any platforms that are capable of running FreeJ2ME but cannot run its AWT jar? If so, i might try to tackle the sdl2 version to flesh it out a "bit" more like i did with libretro.

ohayoyogi commented 10 months ago

Hi, Paulo. Thank you for responding.

I'm a fan of J2ME and interested in developing J2ME emulator.

To implement cross platform J2ME emulator, I have started investigating minijvm and ported it to PS Vita. minijvm does not support AWT, so freej2me cannot be executed on minijvm environment.

I thought it would be nice if there is an option to execute freej2me independent from AWT and posted this issue.

Thanks,

recompileorg commented 10 months ago

FreeJ2ME was designed with this in mind. You can remove AWT completely by replacing just a few class files in org/recompile/mobile