java / pulseaudio question

Ric Moore wayward4now at
Sun Sep 23 21:09:29 UTC 2012

On 09/23/2012 07:26 AM, R Kimber wrote:
> 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(
>>> at
>>> at
>>> 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.
>> Ric
> Thanks for your suggestions.  I've solved it now by removing openjdk and
> installing the Oracle/Sun JDK7.  It now works fine.
It runs on my machine but hates my 48000 formated wav files. Every one 
of them! <sobs uncontrollably> Ric

My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.

More information about the ubuntu-users mailing list