File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes JMF and Java Web Start in Window 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "JMF and Java Web Start in Window 7" Watch "JMF and Java Web Start in Window 7" New topic

JMF and Java Web Start in Window 7

Min Yoon

Joined: Feb 20, 2012
Posts: 1

I have written a code in java using JMF api for audio-video capturing. I am using Windows7 operating System.
When I am running the program from console it can detect all devices well and record video and audio both.
Now I am try to deploy it using Java Web Start. Then it can not detect any of the devices. First I think it is security problem.
Then I off User Access Control. But still it return same result.
I have repeat the same steps in windows-xp where it is running successfully. Java and JMF are properly installed class paths are properly set in environment variables.
I think it is a windows 7 restriction problem.

please help me.
Answer something in advance.

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10828

Welcome to the Ranch.

When you try running it using JNLP, what exceptions/errors do you get? Please copy past the full stack trace (don't forget to UseCodeTags)

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Ralph Cook
Ranch Hand

Joined: May 29, 2005
Posts: 479
Is the code signed by a trusted certification authority? Unless it is, I thought JWS restricted programs to a sandbox with limited access, regardless of the operating system. You say you have tested on XP; did you test on JWS on XP?

I thought that, if it was signed, then the user would be prompted to accept the application with its increased privileges before it was allowed to continue.

Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

I have written applications which are distributed via JWS at work, and they aren't signed by a trusted authority. They are signed, though, just self-signed by me under the name "IT Department". They work just fine and are allowed to make socket connections to other machines, for example. And as far as I know some people are using them on Windows 7 machines.

But JMF? Sorry, I have no experience with that at all. Although I would expect signing the application to be required to use it.
I agree. Here's the link:
subject: JMF and Java Web Start in Window 7
It's not a secret anymore!