• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Detect JMF In OS

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Friends

How To Detect JMF In Operating System.And How To Detect JMF Plugin In The OS .And if the JMF plugin is not installed in the system so how to install JMF plugin silently in the os with appropreate os


thanks
 
Rancher
Posts: 43081
77
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can detect whether JMF is available by trying to access one of its classes via Class.forName(...).

What do you mean by "JMF plugin"? JMF is a library for which plugins are available, but it is not a plugin itself. You can test for the presence of any particular JMF plugin the same way you test for JMF's presence.

Silently installing anything on a computer is nasty; don't do that. But it's probably unnecessary, too; what kind of application is this - desktop (using Swing), applet/JNLP, something else?
 
nayan rami
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:You can detect whether JMF is available by trying to access one of its classes via Class.forName(...).

What do you mean by "JMF plugin"? JMF is a library for which plugins are available, but it is not a plugin itself. You can test for the presence of any particular JMF plugin the same way you test for JMF's presence.

Silently installing anything on a computer is nasty; don't do that. But it's probably unnecessary, too; what kind of application is this - desktop (using Swing), applet/JNLP, something else?



thanks for your reply

now i am creating application swing and JNLP and i have to detect that Wether the JMF is install in System OR not if it is not install in the system so install JMF in System silently

can you please give me some idea abut that
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why would you need or want to install JMF? That means opening a whole can of worms. Why not make it part of the application?
 
nayan rami
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:Why would you need or want to install JMF? That means opening a whole can of worms. Why not make it part of the application?



yes

you are write but i am using application using jnlp and my whole application downloaded from server side
and and using video capture

and i am using quicktime for java and jmf for that

i previously i have to chek that jmf is install or not and if it is not install so i have to install it silently

so i need some help
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're missing my point: I am saying that you do NOT need to install JMF - you can distribute the libraries along with your application.

I'm not sure that QuickTime for Java and JMF play nicely with one another, but since you're using both it seems that you've got that figured out.

QuickTime for Java, on the other hand, does need to be installed before you can use it, and it can NOT be installed by your application - the user must download and run Apple's installer.
 
reply
    Bookmark Topic Watch Topic
  • New Topic