msalahu 0 Newbie Poster

Hello everybody,
Infact this Alarm.java (attached) using sun proprietary API sun.audio classes, now these are deprecated so i want to replace it with java se 6 classes.
This Alarm.java is beeping the PC but not able to run alarm.au(attached)audio file and gives Following exception
Exception Occurred....java.lang.IllegalArgumentException: No line matching interface SourceDataLine supporting format ULAW 8000.0 Hz, 8 bit, mono, 1 bytes/frame, is supported.

Kindly help to make it work with alarm.au
NOTE: i hav commented all those sun proprietary API sun.audio code and tried with the alternate code in the same Alarm.java
Thanks