I have a java application which can make a VoIP call.
When I run it by JBuilder or package it into a jar PKG and run it, it works very well.
But when I package it into a windows executable file to run it, it can not start the media datasource for "dsoung://" and throws the following exception on the screen:
---------------------------------------------------
3445 [main] DEBUG media.MediaManager - dsound://
java.lang.UnsatisfiedLinkError: JMFSecurityManager: java.lang.UnsatisfiedLinkErr
or: no jmdaudc in java.library.path
3455 [main] DEBUG media.MediaManager - Could not create data source for dsound:
//
javax.media.NoDataSourceException: Error instantiating class: com.sun.media.prot
ocol.dsound.DataSource : java.lang.UnsatisfiedLinkError: JMFSecurityManager: jav
a.lang.UnsatisfiedLinkError: no jmdaudc in java.library.path
at javax.media.Manager.createDataSource(Manager.java:1017)
at net.java.sip.communicator.media.MediaManager.createDataSource(MediaMa
nager.java:267)
at net.java.sip.communicator.media.MediaManager.start(MediaManager.java:
178)
at net.java.sip.communicator.SipCommunicator.launch(SipCommunicator.java
:180)
at net.java.sip.communicator.SipCommunicator.main(SipCommunicator.java:3
74)
--------------------------------------------------------
If anybody can give me a hand? Thanks!
When I run it by JBuilder or package it into a jar PKG and run it, it works very well.
But when I package it into a windows executable file to run it, it can not start the media datasource for "dsoung://" and throws the following exception on the screen:
---------------------------------------------------
3445 [main] DEBUG media.MediaManager - dsound://
java.lang.UnsatisfiedLinkError: JMFSecurityManager: java.lang.UnsatisfiedLinkErr
or: no jmdaudc in java.library.path
3455 [main] DEBUG media.MediaManager - Could not create data source for dsound:
//
javax.media.NoDataSourceException: Error instantiating class: com.sun.media.prot
ocol.dsound.DataSource : java.lang.UnsatisfiedLinkError: JMFSecurityManager: jav
a.lang.UnsatisfiedLinkError: no jmdaudc in java.library.path
at javax.media.Manager.createDataSource(Manager.java:1017)
at net.java.sip.communicator.media.MediaManager.createDataSource(MediaMa
nager.java:267)
at net.java.sip.communicator.media.MediaManager.start(MediaManager.java:
178)
at net.java.sip.communicator.SipCommunicator.launch(SipCommunicator.java
:180)
at net.java.sip.communicator.SipCommunicator.main(SipCommunicator.java:3
74)
--------------------------------------------------------
If anybody can give me a hand? Thanks!