zb3 / freej2me Goto Github PK
View Code? Open in Web Editor NEWThis project forked from hex007/freej2me
A free cross-platform desktop J2ME emulator with 3D support from J2ME-Loader
License: Other
This project forked from hex007/freej2me
A free cross-platform desktop J2ME emulator with 3D support from J2ME-Loader
License: Other
Hi,
Wish you have a good weekend.
Today, when running a horror java game as following, I find the game reports it is not running on the phone.
ss1.jar.txt
I observed the execption as following:
java.io.IOException: Class not found Error Adapting Class XMessage java.io.IOException: Class not found Error Adapting Class XConnection java.io.IOException: Class not found Error Adapting Class emulator.Emulator java.io.IOException: Class not found
It is very simple to reproduce the issue, just press 5 and issue can be reproduced.
Meanwhile, the game can be started successfully with j2me-loader from android.
Thanks.
Hi.
NativeLoader: extracting native libraries to /var/folders/zk/_/T/freej2me-372917299269250
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: Can't load library /var/folders/zk/_/T/freej2me-372917299269250/libjavam3g.dylib
After the crash I manually checked the folder and it exists but it is empty and has no libraries inside.
P.S. A suggestion from Gemini:
The issue lies in how you determine the sourceLibraryDir. You're using System.getProperty("os.arch") to get the architecture, but for Apple Silicon Macs, this will return "aarch64" instead of "arm64".
Here's how to fix it (in pl.zb3.freej2me.NativeLoader):
String arch = System.getProperty("os.arch");
if (arch.equals("aarch64")) {
arch = "arm64";
} else if (arch.equals("x86_64")) {
arch = "amd64";
}
String sourceLibraryDir = String.format("natives/%s-%s", osName, arch);
The issue reproduction is pretty simple, keep press "5" and let the game keep going on, after serveral seconds, it will stuck at t a shock face screen as attachment.
Here is the snapshot and jar file.
csl1.1.jar.txt
NativeLoader: extracting native libraries to /tmp/freej2me-2199509124339
Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError: Can't load library: /tmp/freej2me-2199509124339/libmicro3d.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1823)
at java.lang.Runtime.load0(Runtime.java:782)
at java.lang.System.load(System.java:1098)
at pl.zb3.freej2me.NativeLoader.loadLibrary(NativeLoader.java:85)
at ru.woesss.j2me.micro3d.ClassWithNatives.(ClassWithNatives.java:7)
at com.mascotcapsule.micro3d.v3.Texture.(Texture.java:30)
at ax.(Unknown Source)
at cc.a(Unknown Source)
at cd.a(Unknown Source)
at cy.a(Unknown Source)
at bk.a(Unknown Source)
at bg.a(Unknown Source)
at bq.b(Unknown Source)
at dd.c(Unknown Source)
at DeepMIDlet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:750)
After renaming freej2me-linux-arm64.jar/natives/linux-arm64 to linux-aarch64 everything works normally
Hi,
I see that Libretro support has been removed in this fork. Do you plan for bringing it back at some point? If not, what is the reason for that?
Is there a way to not make the emulator window occupy all the available width or height of my desktop? The most common approach to this issue is allowing the user to set an integer scale factor, because fractional ones result in distortions due to nearest neighbor interpolation, and it's nearly impossible to resize it manually to not distort (and I don't need it to be bigger than 1x anyway).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.