Solved

JMF and Web Browsers

Posted on 1998-02-28
4
443 Views
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/EventDispatchThread.run

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
0
Comment
Question by:kunala
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
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.
0
 

Author Comment

by:kunala
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
0
 
LVL 1

Expert Comment

by:alvinwang
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.
0
 

Author Comment

by:kunala
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 @ http://ms214i.cs.okstate.edu/otp/Player/myApplet.htm
( Please enter "replacement.mov" in the testbox and hit 'OK' )

Thank you,
Murthy
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses

628 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