• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Java Media Framework (eclipse)

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This question looks like it would be more suitable on the Linux forum. Moving.
 
Saloon Keeper
Posts: 25612
183
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic