Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Media Framework (eclipse)

 
Adalberto Toledo
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm using Linux Ubuntu version 10.04 LTS
I installed Java Media Framework with the .bin file for linux downloaded from oracle web page

It installed property but I'm having these problems:

* When I run the comand "java JMStudio" as a root user (#) the mpg video plays good but when I run that comand as simple user ($), the mpg video send me this error: "Controller error: Failed to realize"
* When I run eclipse as a root user (#) and I run a program that uses the jmf libraries, the video play good but without audio and the console says: "Failed to initialize audio for mpx."
* When I run eclipse as a simple user ($) and I run a program that uses the jmf libraries, the console says: "Error: Unable to realize"


What Can I do to solve these problems...? Please help me...
 
Maneesh Godbole
Saloon Keeper
Posts: 11327
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question looks like it would be more suitable on the Linux forum. Moving.
 
Tim Holloway
Saloon Keeper
Posts: 18362
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's very likely that the user account in question doesn't have access rights to the various media devices such as the /dev/snd and /dev/video device "files".

Depending on the distro you're using and how things were installed, there may be a security group defined for such things that you can add the user to. Or if not, you could create one.

Also check selinux for possible violations, but I think it's more likely that the basic access rights are the main issue here.
 
luke swagger
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have added the all the jars in the lib folder to the eclipse class path
by going to:

windows > java > build path > class variables > new

I tried adding just the folder but have also tried adding all the jars
separately. I made a quick test by writing a program that just imports
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic