LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 09-15-2004, 10:33 AM   #1
PenguinPwrdBox
Member
 
Registered: Oct 2003
Location: /illinois/chicago
Distribution: Slackware/Gentoo/FC/RHEL
Posts: 568

Rep: Reputation: 30
No Sound in Java


Hey all,

I have Java, and it has worked perfectly for me so far.
Version is 1.4.2_04
However, I get no sound in applets.
I have appended the following to /usr/lib/j2sdk1.4.2_04/jre/lib/security/java.policy
Code:
grant {
  permission javax.sound.sampled.AudioPermission "record";
};
Still nothing.

Any thoughts?
 
Old 09-15-2004, 10:53 AM   #2
geniarse
Member
 
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141

Rep: Reputation: 15
Are you accessing the applets through a browser? I had this problem with mozilla and java/flash, the problem was the permissions on the audio device file in /dev. Just a thought
 
Old 09-15-2004, 10:56 AM   #3
PenguinPwrdBox
Member
 
Registered: Oct 2003
Location: /illinois/chicago
Distribution: Slackware/Gentoo/FC/RHEL
Posts: 568

Original Poster
Rep: Reputation: 30
No, I mean, I was - but I d/l'd the applet (Guitar tuner) - and it won't run locally.
 
Old 09-15-2004, 11:01 AM   #4
geniarse
Member
 
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141

Rep: Reputation: 15
Just double check the permissions of the device anyway as it isn't mozilla accessing the souncard really it's passing access on from applet if my understanding is correct
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forcing Java to use another sound daemon bongwater Mandriva 0 10-31-2004 02:02 AM
No sound in java or flash iotc247 Slackware 13 04-17-2004 10:03 AM
Java monopolizes sound? fantanas Linux - Software 1 05-02-2003 10:14 AM
About Java Sound programing figadiablo Programming 4 03-20-2003 10:01 AM
Mozilla + Java Plugin = sound gone v20 Linux - Software 0 03-06-2003 04:56 PM


All times are GMT -5. The time now is 07:26 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration