Mailinglist Archive: opensuse (4633 mails)

< Previous Next >
Re: [opensuse] Missing swt.jar ( Suse 10 )
  • From: Francesco Scaglioni <fgs@xxxxxxxxxx>
  • Date: Thu, 28 Dec 2006 21:27:38 +0000 (GMT)
  • Message-id: <20061228.212738.168978278.fgs@xxxxxxxxxx>
Hi,

> On Thursday 28 December 2006 01:00, Francesco Scaglioni wrote:
> > I now have eclipse installed and pointed configure at the
> > relevant jar yet it still errors. It seems that configure
> > can "see" some of the files within the jar but not all.
>
> Over time, there have been many versions of SWT. You may not have the
> one required by the application trying to use it.
>
> What program are you trying to build that requires SWT but does not
> include it itself? Are there no instructions with that software
> detailing its prerequisites?

If I issue :

./configure --with-swt=/usr/share/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.1.0.jar

then configure runs fine, without errors.

Then make runs without errors. However, following a make
install (and male clean), running the program results in :

!!! An unhandled exception occured: class java.lang.UnsatisfiedLinkError
--- iriverter 0.16
---
--- Settings:
---
---
!!! no swt-pi-gtk-3138 in java.library.path
!!!
!!! java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
!!! java.lang.Runtime.loadLibrary0(Runtime.java:788)
!!! java.lang.System.loadLibrary(System.java:834)
!!! org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
!!! org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
!!! org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
!!! org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
!!! org.eclipse.swt.widgets.Display.<clinit>(Display.java:122)
!!! org.thestaticvoid.iriverter.ConverterUI.<init>(ConverterUI.java:28)
!!! org.thestaticvoid.iriverter.ConverterUI.main(ConverterUI.java:666)
!!!
Exception in thread "main" java.lang.NoClassDefFoundError
at org.thestaticvoid.iriverter.ConverterUI.main(ConverterUI.java:675)

TIA

F
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >