File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
Author

JMF and Java Web Start in Window 7

Min Yoon
Greenhorn

Joined: Feb 20, 2012
Posts: 1
Hi.

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.

thanks
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

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.

rc
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18115
    
    8

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JMF and Java Web Start in Window 7
 
Similar Threads
JMF and Java Web Start
JMF in mac OS
Setting class path through jnlp
Javafx use jmf and capture audio device
Control Digital Camera