Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG] J2ME emulator still not working #1076

Open
K1nHub opened this issue Jan 4, 2025 · 2 comments
Open

[BUG] J2ME emulator still not working #1076

K1nHub opened this issue Jan 4, 2025 · 2 comments

Comments

@K1nHub
Copy link

K1nHub commented Jan 4, 2025

Describe the bug

Java games crash when open it

How to reproduce

Launch any java game

Information

  • ROCKNIX Version: 20241120
  • Hardware Platform: Anbernic RG353VS

Log file

From /var/log/exec.log file

Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
	at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
	at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:102)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.desktop/sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:61)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:315)
	at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:101)
	at java.desktop/java.awt.GraphicsEnvironment$LocalGE.<clinit>(GraphicsEnvironment.java:83)
	at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:129)
	at java.desktop/java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1181)
	at java.desktop/java.awt.image.BufferedImage.getGraphics(BufferedImage.java:1170)
	at org.recompile.freej2me.Libretro.<init>(Libretro.java:104)
	at org.recompile.freej2me.Libretro.main(Libretro.java:73)

Context

In last JELOS build everything is working. In case ROCKNIX the problem has been going on since the first build.

@NikitaRUniverse
Copy link

NikitaRUniverse commented Feb 6, 2025

Confirming this very same issue, PowKiddy RGB-30, ROCKNIX 20250118
Having zulu11.48.21-ca-jdk11.0.11-linux_aarch64.tar.gz in the roms/j2me/jdk folder, still nothing

@K1nHub
Copy link
Author

K1nHub commented Feb 27, 2025

Depends on offical discord channel change GPU driver from libmali to panfrost and everything work, so thi is bug of libmali

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants