ns-usbloader icon indicating copy to clipboard operation
ns-usbloader copied to clipboard

jar not loading in wayland

Open rexto opened this issue 6 years ago • 2 comments

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

rexto avatar Jul 17 '19 17:07 rexto

A workaround was found here (i.e. java -Djdk.gtk.version=2 -jar ns-usbloader-0.7.jar). This worked for me.

kimsaehun avatar Sep 18 '19 13:09 kimsaehun

2.0 version works fine for me in Wayland, but the jar file must be executed as root (sudo)

Nonononoki avatar Feb 24 '20 09:02 Nonononoki