Re: [fedora-java] Compiling a basic SWT app on FC4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Haley (aph@xxxxxxxxxx):

>  > Here are the current rpms that are relevant:
>  > libswt3-gtk2-3.1.0_fc-0.M6.22
> 
> $ gij  -classpath /usr/share/eclipse/plugins/org.eclipse.swt.gtk_3.1.0.jar TestGui
> Exception in thread "main" java.lang.UnsatisfiedLinkError: libswt-pi-gtk-3128: file not found
>    at java.lang.Runtime._load(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0)
> 
> So, where is libswt-pi-gtk-3128 ?  Bizzarrely, I found it in 
> 
>  $HOME/.eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/bundles/59/1/.cp/os/linux/x86/libswt-pi-gtk-3128.so

  The .jar file "org.eclipse.swt.gtk_3.1.0.jar" is SWT, but packaged as
an Eclipse plugin.  libswt-pi-gtk-3128.so is one of the JNI shared
libraries required by SWT.  It is located inside the SWT plugin .jar,
and is extracted on-demand by Eclipse.

  Upstream at eclipse.org, we provide a separate SWT download, which is
just swt.jar alone along with all of the shared libraries.

  IMHO, this package should be providing something similar.  An swt.jar
file, and the .so files, suitable for building standalone applications.

    libswt3-gtk2-3.1.0_fc-0.M6.22

  I don't think it's doing that currently.

  -Billy


[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux