How to avoid java.lang.UnsatisfiedLinkError

Exception in thread "main" java.lang.UnsatisfiedLinkError: no JavaDDE in java.library.path
 at java.lang.ClassLoader.loadLibrary(Unknown Source)
 at java.lang.Runtime.loadLibrary0(Unknown Source)
 at java.lang.System.loadLibrary(Unknown Source)
 at com.pretty_tools.dde.client.DDEClientConversation.(
 at ExcelExample.main(

JDDE is JNI based library and it requires native code library (DLL for Windows). JavaDDE.dll should be placed to current directory from which you run your example, or you should specify JVM java.library.path parameter that points for folder with JavaDDE.dll.

 java -Djava.library.path="C:\jdde" ExcelExample