Latest eclipse crashing in openSUSE Tumbleweed

In your loader trace you can see this:

2721:	/home/tux/ide/eclipse//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_17.0.10.v20240120-1143/jre/bin/java: error: symbol lookup error: undefined symbol: JNI_OnLoad_swt-pi3-gtk-4964r8 (fatal)
2721:	find library=libgthread-2.0.so.0 [0]; searching
2721:	 search path=/home/tux/ide/eclipse/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_17.0.10.v20240120-1143/jre/bin:/home/tux/ide/eclipse/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_17.0.10.v20240120-1143/jre/bin/../lib		(RPATH from file /home/tux/ide/eclipse//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_17.0.10.v20240120-1143/jre/bin/java)
2721:	  trying file=/home/tux/ide/eclipse/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_17.0.10.v20240120-1143/jre/bin/libgthread-2.0.so.0
2721:	  trying file=/home/tux/ide/eclipse/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_17.0.10.v20240120-1143/jre/bin/../lib/libgthread-2.0.so.0
2721:	 search cache=/etc/ld.so.cache
2721:	 search path=/lib64/glibc-hwcaps/x86-64-v3:/lib64/glibc-hwcaps/x86-64-v2:/lib64:/usr/lib64/glibc-hwcaps/x86-64-v3:/usr/lib64/glibc-hwcaps/x86-64-v2:/usr/lib64		(system search path)
2721:	  trying file=/lib64/glibc-hwcaps/x86-64-v3/libgthread-2.0.so.0
2721:	  trying file=/lib64/glibc-hwcaps/x86-64-v2/libgthread-2.0.so.0
2721:	  trying file=/lib64/libgthread-2.0.so.0
2721:	  trying file=/usr/lib64/glibc-hwcaps/x86-64-v3/libgthread-2.0.so.0
2721:	  trying file=/usr/lib64/glibc-hwcaps/x86-64-v2/libgthread-2.0.so.0
2721:	  trying file=/usr/lib64/libgthread-2.0.so.0
2721:	
SWT OS.java Error: Failed to load swt-pi3, loading swt-pi4 as fallback.`

The loader is searching for libgthread-2.0.so.0 trying the ususal suspects but cannot find it. And since libswt-pi3-gtk*.so is using libgthread (you can check that with ldd) loading of this lib fails . This is the real cause for the swt-pi4 fallback. And the fallback will certainly not work. On my machine the libgthread* is installed in /usr/lib64. And a rpm -qf shows that the lib is part of libgthread-2_0-0 . Why there are swt libs in ~/.swt/ i do not know maybe from another eclipse instance but according to the trace file the loader did not even try to load them.

2 Likes