Link to home
Start Free TrialLog in
Avatar of kunala
kunala

asked on

JMF and Web Browsers

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
ASKER CERTIFIED SOLUTION
Avatar of alvinwang
alvinwang

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kunala
kunala

ASKER

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
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.
Avatar of kunala

ASKER

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