If this program doesn't load successfully with something like
Exception in thread "main" org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.graphics.Cursor.<init>(Unknown Source)
you should use the x11 GDK backend (GDK_BACKEND=x11
) or force GTK2 (SWT_GTK3=0
), c.f. https://bugs.eclipse.org/bugs/show_bug.cgi?id=527545
Pinned Comments
buzo commented on 2020-06-07 11:11
The easiest way to solve build failures is by building in a clean chroot. Else make sure with
archlinux-java status
that you are not using an old Java version. To use the latest Java varsion, runarchlinux-java set java-14-openjdk
.