Home  |  About  | Last |  Submit  |  Contact
AllQuests.com




Previous Question:  No Menus  Desktop EnvironmentsNext Question:  flac with cue sheet  Desktop Environments
Question java plugin no sound ( Ubuntu Forums General Help )
Updated: 2008-11-23 01:45:13 (3)
java plugin no sound

Hi to all! I've a problem with java plugin (jre1.5.0_02). I've installed it correctly on my system, i can see video and play games but i can't get no sound on any type of java sites with firefox. The only way i found is to kill esd. I don't think is a good solution, but the only one i've found. I've alredy done the simlink to libesd.so.1 .I can hear correctly flash sites mixed at the sa 1f40 me time with others sound sources (such as beep media player or totem) .The problem is just about java and esd deamon. Any hint? The output of lspci about my audio device:
Code:
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
Finally i have to say that i've done ALL the last .deb upgrades and that i've the same installation on another machine with the same configuration and the same packages update level (but different audio hardware) and i've no problem at all there

Thanks in advance!

Answers: java plugin no sound ( Ubuntu Forums General Help )
java plugin no sound

Right you are - java hogs /dev/dsp (wich is really cumbersome when applications do not release it when they've stoped playing sounds). It is really weird that it is hard to find information on how to solve, what I imagine is, a common problem such as this one.

The best info I've come across is to use the tritonus project (http://www.tritonus.org/).
It, however, seems like the project is rather 'dead' when it comes to esound - and I have not managed to get it to work with java 1.5.

The alsa part seems to be a bit more alive - but I have yet to try that one out.

Anyway - this situation really sucks.

pel

java plugin no sound

*bump*

I am having the same problems, no sound with java 1.5 + Firefox

invalid

java plugin no sound

I too have that issue of no sound from Java on every PC I build. The sun java test runs but no sound.
http://java.sun.com/products/java-me...emo/index.html
java -jar JavaSoundDemo.jar

Animated coffee beans, with a soundtrack and per-frame sound effects.
file:///usr/lib/jvm/java-1.5.0-sun-1.5.0.10/demo/applets/Animator/example1.html

/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/demo/applets/Animator

/home/user1/.java/deployment/log/plugin150_10.trace is not showing any errors.


I have installed sun-java 1.5.

Flash plugin (non-free does have sound).

The only web site I can test sound on is Runescape l 1f40 ogon screen.

I wonder what the following means (http://java.sun.com/j2se/1.5.0/docs/...appendix2.html) ?

To use MyDeviceProvider as the default for SourceDataLine lines, set the following key:

javax.sound.sampled.SourceDataLine=com.xyz.MyDevic eProvider

To specify the default Synthesizer by its name InternalSynth, set the following key:

javax.sound.midi.Synthesizer=#InternalSynth

To specify the default Receiver by provider and name, set the following key:

javax.sound.midi.Receiver=com.sun.media.sound.Midi Provider#SunMIDI1


My file has
#
# Example 1:
# Use MyDeviceProvider as default for SourceDataLines:
# javax.sound.sampled.SourceDataLine=com.xyz.MyDevic eProvider
#
# Example 2:
# Specify the default Synthesizer by its name "InternalSynth".
# javax.sound.midi.Synthesizer=#InternalSynth
#
# Example 3:
# Specify the default Receiver by provider and name:
# javax.sound.midi.Receiver=com.sun.media.sound.Midi Provider#SunMIDI1
#

should these be un-commented ?

This was an interesting site but still did not help me, http://www.vsj.co.uk/java/display.asp?id=370

I found this comment but what does it mean ?
http://forum.java.sun.com/thread.jsp...tart=0#9450488
JavaSound supports ALSA on Linux since Java 1.5.
You can select the "plughw" devices of ALSA.

http://72.14.253.104/search?q=cache:...=au&lr=lang_en
jre/lib/sound/properties

# Use MyDeviceProvider as default for SourceDataLines:
javax.sound.sampled.SourceDataLine=#AudioPCI [plughw:1,0]

I even tried:
/dev/dsp
chmod 666 /dev/audio /dev/dsp /dev/mixer


Well, after trying the above, still no sound from a java applet.

If anyone out there knows what is stopping so many of us from getting sound out of sun java under linux, please let us know.

Thanks,

George.

G.Kirkham

Previous Question:  No Menus  Ubuntu Forums  Desktop EnvironmentsNext Question:  flac with cue sheet  Ubuntu Forums  Desktop Environments

- Source: java plugin no sound Ubuntu Forums General Help
- Previous Question: No Menus Ubuntu Forums Desktop Environments
- Next Question: flac with cue sheet Ubuntu Forums Desktop Environments