hi,

i'm learning to record sound with MMAPI. this is my first MMAPI app.

as i found some tutorials on the net. i use the

Code:
recorder = Manager.createPlayer("capture://audio");
recorder.realize();
recorder.start();

rc = (RecordControl) recorder.getControl("RecordControl");

rc.setRecordLocation("file:///G:/" + filename + ".wav");
i get an exception at the

Code:
rc.setRecordLocation("file:///G:/" + filename + ".wav");
it's said

Code:
java.io.IOException: Root is not accessible

i build the app using netbean 6.7.1 in windows environment.
what does the error message means?

Thank you.