tb189
Posts: 5
Joined: Sun Dec 21, 2014 2:42 pm

Using SWT on RPi

Sun Dec 21, 2014 4:26 pm

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?

tb189
Posts: 5
Joined: Sun Dec 21, 2014 2:42 pm

Re: Using SWT on RPi

Fri Dec 26, 2014 7:48 pm

I was missing a package libswt-cairo-gtk-3-jni.

Return to “Java”