Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse 4.11.0 crashing incorrect swt library version(Version of SWT library from Eclipse doesn't match what it is looking for)
Eclipse 4.11.0 crashing incorrect swt library version [message #1816719] Tue, 05 November 2019 09:54
Eclipse UserFriend
I am trying to get Eclipse 4.11.0 running on my RHEL 6.10 system but it crashes when I try to run it. It points me to a log file that states:

...UnsatisfiedLinkError org.eclipse.swt.internal.gtk.OS._cachejvmptr()V


I tried running it again and it crashed again with a different log file entry:

...UnsatisfiedLinkError Could not load SWT library


It was looking for:

~/.swt/lib/linux/x86_64/libswt-pi4-gtk-4924r25.so


but the only file in that directory was libswt-pi3-gtk-4924r25.so

I also found libswt-pi3-gtk-4924r25.so in eclipse/configuration/org.eclipse.osgi/458/0/.cp.

I removed my ~/.swt directory and ran it again. Once again I got:

...UnsatisfiedLinkError org.eclipse.swt.internal.gtk.OS._cachejvmptr()V


I noticed that it made the ~/.swt/... directory structure and put the libswt-pi3-gtk-4924r25.so file in it so I tried to run it again and it (not surprisingly) gave me the following:

...UnsatisfiedLinkError Could not load SWT library


Does this have something to do with the version of gtk that I'm running on my system?

Why does eclipse include the libswt-pi3-gtk.4924r25.so library in their installation, then look for the libswt-pi4-gtk-4924r25.so library?
Previous Topic:Git configuration - User Settings
Next Topic:Debug configuration program selection
Goto Forum:
  


Current Time: Thu Jun 12 15:20:01 EDT 2025

Powered by FUDForum. Page generated in 0.02730 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top