Solved

JMF and Web Browsers

Posted on 1998-02-28
4
437 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
  • 2
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
alvinwang earned 20 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

771 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

14 Experts available now in Live!

Get 1:1 Help Now