How can i add a library path for a .dll library?
843829Oct 12 2002 — edited Oct 14 2002hi
i used a native method (sndPlaySound) in a dll file (winmm.dll).
then i complided my source successfuly , but in runtime i recieve
this Exception :
Exception in thread "main" java.lang.UnsatisfiedLinkError: no winmm.dll in java.
library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at JNItest.<clinit>(JNItest.java:9)
i know i must add the library path to the java.library.path but
i don't find "java.library.path" and don't know what i must to do.
i am in windows 98 and don't use any IDE (just jdk 1.3.1).
thank you very much.