java / pulseaudio question
richardkimber at btinternet.com
Sun Sep 23 11:26:13 UTC 2012
On Sun, 23 Sep 2012 05:57:26 -0400
Ric Moore wrote:
> On 09/19/2012 07:38 AM, R Kimber wrote:
> > I'm trying to run a jar file (an audio player) but get the following
> > errors:
> > Exception in thread "Thread-1" java.lang.IllegalArgumentException:
> > Master Gain not supported at
> > org.classpath.icedtea.pulseaudio.PulseAudioLine.getControl(PulseAudioLine.java:89)
> > at DSPAudio.run(DSPAudio.java:281)
> > at java.lang.Thread.run(Thread.java:679)
> > Is this issue likely to be a bug in the jar file, a problem with
> > PulseAudio, or might it be solved by installing the Sun/Oracle version
> > of java rather than open java? I seem to have:-
> > java version "1.6.0_24"
> > OpenJDK Runtime Environment (IcedTea6 1.11.4)
> > (6b24-1.11.4-1ubuntu0.12.04.1) OpenJDK 64-Bit Server VM (build
> > 20.0-b12, mixed mode)
> Try running this with your present java install
> If it doesn't work you might try either Openjdk version 7 or Oracle
> java. That's what I use and have no problems running sound files.
> Installing Oracle Java 7 with this works a charm, as getting all of the
> alternatives set is a beast of a chore.
Thanks for your suggestions. I've solved it now by removing openjdk and
installing the Oracle/Sun JDK7. It now works fine.
Political Science Resources
More information about the ubuntu-users