difficulties to use swt on fedora

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

 



Hello,

I wanted to use swt.jar in a software
(http://iriverter.sourceforge.net/download.shtml), but it turned out to 
be quite complicated to achieve. Maybe I am doing something wrong, but 
if it is not the case, things should certainly be ameliorated.

I found swt.jar to be in libswt3-gtk2, in:
/usr/lib/eclipse/swt-gtk-3.3.jar

Why not in /usr/share/java/swt.jar?

The compilation works with
javac -classpath /usr/lib/eclipse/swt-gtk-3.3.jar:. org/thestaticvoid/iriverter/DVD.java

On fc7, there seems to be a need to do 

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/eclipse/

before starting the application or
/usr/lib/eclipse/libswt-pi-gtk-3346.so
isn't found, but I hadn't that issue in F8:

!!! An unhandled exception occured: class java.lang.UnsatisfiedLinkError
--- iriverter 0.16
--- 
--- Settings:
--- 
--- 
!!! libswt-pi-gtk-3236: libswt-pi-gtk-3236.so: cannot open shared object file: No such file or directory
!!! 
.......         more error messages    ............

--
Pat

--
fedora-devel-java-list mailing list
fedora-devel-java-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

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

  Powered by Linux