[Kde-java] UnsatisfiedLinkError

Marco Ladermann marco.ladermann at gmx.de
Wed Oct 6 19:18:05 CEST 2004


Am Mittwoch, 6. Oktober 2004 18:44 schrieb Clint Allen:
> Hi everyone, this is my first post to the list, hope I'm not asking a FAQ.

At least, it should be a FAQ! ;)

> Exception in thread "main" java.lang.UnsatisfiedLinkError: newKDialogBase
>         at org.kde.koala.KDialogBase.<init>(KDialogBase.java:330)
>         at ws.olympus.kde.java.kifupdown.Main.main(Main.java:122)

This exception is thrown typically if you forgot to call 
org.kde.qt.qtjava.initialize(). This method is static and can be invoked by 
the "main" or in a static initializer of your classes.

static {
  // initialize the toolkit
  org.kde.qt.qtjava.initialize();
}

Marco
-- 
KISS - keep it small and simple


More information about the Kde-java mailing list