Win XP - jdic-0.9.5 system tray exception: UnsatisfiedLinkError
I'm trying to use jdic-0.9.5 to implement system tray functionality within my swing application, and I can't get passed the following exception:
Exception in thread "Thread-4" java.lang.UnsatisfiedLinkError: org.jdesktop.jdic.tray.internal.impl.
at org.jdesktop.jdic.tray.internal.impl.DisplayThread.initTray(Native Method)
I'm using jdk1.6.0_10 on Win XP. I have the jdic.jar and jdic_stub_windows.jar in my lib directory, and the two dll's (jdic.dll & tray.dll) under lib\windows\x86.
The error message appears that the dll's can't be found, but if I remove them from the lib\windows\x86, I get a different message saying that it can't find the jdic.dll. So it seems that it indeed it is finding them. I've tried setting the windows path to include the dll directory, along with the "-Djava.library.path=" parameter specifying the dll directory, but all attempts result in the same exception.
What am I missing? Any help is appreciated.