java / pulseaudio question

Ric Moore wayward4now at
Sun Sep 23 09:57:26 UTC 2012

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.


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