A “Cairo is required” error indicates that the Cairo graphics library is not installed or not available on this system. Cairo is required by the client user interface and must be installed.
The full error message might look something like the following:
org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Unable to load graphics library [Cairo is required] (java.lang.UnsatisfiedLinkError: no swt-cairo-gtk-3448 or swt-cairo-gtk in swt.library.path, java.library.path or the jar file)
Cairo packages can be obtained from the following sources:
The packages provided by Sunfreeware typically install into /usr/local with the various libraries installed in /usr/local/lib. If you install these packages to these locations you'll likely need to add /usr/local/lib to the search path for the dynamic linker. The most straightforward way to do this is through the LD_LIBRARY_PATH environment variable. An example appears below; note that this example assumes the bash shell:
export LD_LIBRARY_PATH=/usr/local/lib