java 15 ,javax.sound no TargetDataLine

Georgi drgeorgiev at mail.ru
Thu Feb 23 06:44:57 PST 2006


Hi ,

in java 15 (Java(TM) 2 Runtime Environment, Standard Edition (build  
1.5.0-p2-root_14_feb_200 6_00_10))
i'm not able to get TargetDataLine it's works with java 1.4(Java(TM) 2  
Runtime Environment, Standard Edition (build  
1.4.2-p8-root_22_feb_2006_23_14)) and linux java 1.4 and 1.6 beta

output with java1.5


interface SourceDataLine supporting 8 audio formats
Exception in thread "main" java.lang.IllegalArgumentException: No line  
matching interface TargetDataLine is supported.
         at javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:459)
         at TestDataLine.main(TestDataLine.java:11)



output with java1.4 ,linux java 1.4 and 1.6


interface SourceDataLine supporting 8 audio formats
interface TargetDataLine supporting 72 audio formats

osversion FreeBSD 6.1-PRERELEASE

I'm not sure if this is only in my environment

georgi


More information about the freebsd-java mailing list