How to check if Java Media Framework is installed?

C

Carsten Marx

Hi,

short and simple question:
How can i check properly if the Java Media Framework ist installed on
the Computer?

Scenario;
We have a application which has the abbility to show small movies
inside if the JMF is installed. We do not want to ship the JMF with our
application. Currently we are trying to invoke a Class/Method from the
JMF and if there is a ClassNotFoundException we assume that there ist
no JMF installed. No the best way..... ;-)

I've searched a bit and i didn't found a good solution.. Does anybody
know a proper solution for this?

Thanks and beste regards.

Carsten
 
A

Andrew T.

Carsten Marx wrote:
...
How can i check properly if the Java Media Framework ist installed on
the Computer? ....
...Currently we are trying to invoke a Class/Method from the
JMF and if there is a ClassNotFoundException we assume that there ist
no JMF installed. No the best way..... ;-)

The makers of JMF use this applet ..
<http://java.sun.com/products/java-media/jmf/2.1.1/jmfdiagnostics.html>
...source is linked from the page.

I didn't check the source, but I suspect they are doing much
the same as what you've already done.
I've searched a bit and i didn't found a good solution..

I don't suppose you stumbled across the forum that specialises
in the JMF in your searching? It can be found here..
<http://forum.java.sun.com/forum.jspa?forumID=28>

HTH

Andrew T.
 
O

Oliver Wong

Carsten Marx said:
Thanks for the tip.. but the linked zip with the source is EMPTY...

Has anyone this source code.

I tried downloading from the link just now (2006-07-13-14:19 EST), and I
got a zip with the .class file and the .java source code. Try downloading it
again? Or try downloading it from another computer?

- Oliver
 
C

Carsten Marx

A

Andrew T.

Carsten said:
...
Damn it...i've downloaded it with Firefox ion Mac OSX and tried
unzipping it with Stuffit.. Folder empty!
Then i tried unzipping it with the shell command unzip... The files are
there.... WTF?

LOL! I've given up trying to analyse these little eccentricities
with browsers and HTTP. ;-)

Andrew T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top