Open rexto opened 5 years ago
I get this output after doing java -jar file.jar
java:13745): Gdk-CRITICAL **: 19:28:13.111: gdk_x11_display_set_window_scale: assertion 'GDK_IS_X11_DISPLAY (display)' failed
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007fa1226a2b2b, pid=13745, tid=13770
JRE version: OpenJDK Runtime Environment (12.0.1+12) (build 12.0.1+12) Java VM: OpenJDK 64-Bit Server VM (12.0.1+12, mixed mode, tiered, compressed oops, g1 gc, linux-amd64) Problematic frame: C [libX11.so.6+0x2bb2b] XInternAtom+0x3b
A workaround was found here (i.e. java -Djdk.gtk.version=2 -jar ns-usbloader-0.7.jar). This worked for me.
java -Djdk.gtk.version=2 -jar ns-usbloader-0.7.jar
2.0 version works fine for me in Wayland, but the jar file must be executed as root (sudo)
I get this output after doing java -jar file.jar
java:13745): Gdk-CRITICAL **: 19:28:13.111: gdk_x11_display_set_window_scale: assertion 'GDK_IS_X11_DISPLAY (display)' failed
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007fa1226a2b2b, pid=13745, tid=13770
JRE version: OpenJDK Runtime Environment (12.0.1+12) (build 12.0.1+12) Java VM: OpenJDK 64-Bit Server VM (12.0.1+12, mixed mode, tiered, compressed oops, g1 gc, linux-amd64) Problematic frame: C [libX11.so.6+0x2bb2b] XInternAtom+0x3b