Skip to content

[BUG] J2ME emulator still not working #1076

@K1nHub

Description

@K1nHub

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions