How to play a sound from the shell with java ?
Posted on 2004-03-30
Simple... I am using Linux and Java.
In C++ I can make a program that calls a system function and allows me to play a sound from the shell. The call to the system function is:
Is it there any way to do the same thing with Java... so I could call the same "play" function from the shell and the sound will be played ?
If there is some class I need to include, please tell me and tell me how.
Do not send me to complicated plages or give me some complicated code... I guess it should be simple.