Page 1 of 1

Using SWT on RPi

Posted: Sun Dec 21, 2014 4:26 pm
by tb189
I'm trying to run an SWT application on the RPi. Using this:

http://www.lucid-control.com/create-ras ... d-eclipse/

I installed the packages
* libswt-gtk-3-java
* libswt-gtk-3-jni
* libgtk-3-dev for good measure

I copied the file swt-gtk-3.8.0.jar to my eclipse project, and then run the .jar file on the RPi.

I get the following errror: org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]

I can't seem to find useful answers online. Any idea what's causing this?

Re: Using SWT on RPi

Posted: Fri Dec 26, 2014 7:48 pm
by tb189
I was missing a package libswt-cairo-gtk-3-jni.