java / pulseaudio question
Ric Moore
wayward4now at gmail.com
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(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
http://www.oracle.com/technetwork/java/javasounddemo-140014.html
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.
http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
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.
http://linuxcounter.net/user/44256.html
More information about the ubuntu-users
mailing list