JMF and Web Browsers

Posted on 1998-02-28
Last Modified: 2013-11-23
Hello Guys,

Please help me from this interesting problem. I have developed a simple applet which plays a movie file using the Java Media Framework API. this works fine on the machine on which I installed but when I tried to access the same from a different machine thru internet it shows some errors like this

Exception occurred during event dispatching:
java.lang.UnsatisfiedLinkError: jmutil.dll cannot load because RNIGetCompatibleVersion export not found (new behavior.)
      at java/lang/Runtime.loadLibrary
      at java/lang/System.loadLibrary
      at com/sun/media/util/JMFSecurity.loadLibrary
      at com/sun/media/util/JMFProperties.<clinit>
      at com/sun/media/util/JMFProperties.getProperty
      at javax/media/PackageManager.getPersistentProtocolPrefixList
      at javax/media/PackageManager.<clinit>
      at javax/media/PackageManager.getProtocolPrefixList
      at javax/media/Manager.getProtocolPrefixList
      at javax/media/Manager.getDataSourceList
      at javax/media/Manager.createPlayer
      at javax/media/Manager.createPlayer
      at javax/media/Manager.createPlayer
      at myPlay.<init>
      at myApplet.action
      at java/awt/Component.handleEvent
      at java/awt/Component.postEvent
      at java/awt/Component.postEvent
      at java/awt/Component.postEvent
      at java/awt/Component.dispatchEventImpl
      at java/awt/Component.dispatchEvent
      at java/awt/WUIPeer.handleEvent
      at java/awt/WButtonPeer.handleEvent
      at java/awt/Component.postEvent
      at com/ms/ui/AwtUIHost.postEvent
      at java/awt/WUIPeer.postEvent
      at com/ms/ui/UIRoot.postEvent
      at com/ms/ui/UIComponent.postEvent
      at com/ms/ui/UIStateContainer.postEvent
      at com/ms/ui/UIButton.¥
      at com/ms/ui/UIButton.mouseClicked
      at com/ms/ui/UIComponent.handleEvent
      at com/ms/ui/UIComponent.postEvent
      at com/ms/ui/UIStateContainer.postEvent
      at com/ms/ui/UIComponent.postEvent
      at com/ms/ui/UIStateComponent.postEvent
      at com/ms/ui/UIRoot.Å
      at com/ms/ui/UIRoot.forwardEvent
      at com/ms/ui/AwtUIHost.postEvent
      at java/awt/WUIPeer.postEvent
      at com/ms/ui/AwtUIHost.processEvent
      at java/awt/Component.dispatchEventImpl
      at java/awt/Container.dispatchEventImpl
      at java/awt/Component.dispatchEvent
      at java/awt/

When I refered to javasoft documentation as to what
UnsatisfiedLinkError is it says
"Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native."

I used IE4.0 and netscape Communicator 4.0 on both the machines but I see the problem still.

Any kind of help is greatly appreciated.

thank you,
Murthy Kunala
Question by:kunala
  • 2
  • 2

Accepted Solution

alvinwang earned 20 total points
ID: 1233299
Did you try running the example applets that comes with the package?
There is a FAQ, trying reading the faq and make sure that the correct dll
are in the correct path as well as classpath.
wat platfomr are u running on.
IF on PC, you might want to take a look at the intel JAva MediaFramework API.
I've no problem running my frame playetr over the network.

Author Comment

ID: 1233300
Hello alvinwang,

Thanks for your response, I have a couple of more questions.
I don't know what the problem is, I checked the classpath and path variables they are just fine, jmutil.dll file is in \jmf-Beta\lib\ directory and it is included in the classpath.

Interesting thing is I don't see any problem when I installed Intel Media Framework API. While installing it also automatically set the environment variables (classpath and path) as did Java Media Framework API.

(i) I wonder what might be the reason. what should I do to avoid the error (Exception occurred during event dispatching:
java.lang.UnsatisfiedLinkError: jmutil.dll cannot load because RNIGetCompatibleVersion export not found (new behavior.) ) with JMF.

(ii) Do we need to have JMF/IMF installed on all the clients to view this player. Or is there any other way? B'cos I had that problem when tested from a different client.

Thank you,
Murthy Kunala

Expert Comment

ID: 1233301
yes. your client need to have IMF installed if you 're viewing on PC.
as a matter of fact, I have both intel and JMF on client machine and
it should bne able to play.if your clients are all PC, then I think it's better to stick to the intel one.
Anyway, which beta version of JMF are u using.
The FAQ says something abt previous version of JMF etc.

Author Comment

ID: 1233302
Hello alvinwang,

I have installed 'JMF 1.0 Beta 3' on my client, it didn't work so I installed IMF.

It would be so nice of you, If you can just try my sample and let me know if it works.

My sample is @
( Please enter "" in the testbox and hit 'OK' )

Thank you,

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ArrayIndexOutOfBoundException 9 68
java 8 lambda expresssions exception handling 3 75
nextBoolean(double p) for Random class 3 35
Windows 10 IE Certificate Issue 10 42
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now