In modern versions of Windows, regular users don't have access to write to c:/ without administrative privileges. Your code looks OK (in terms of the use of mkdirs()) but I think you're running into this problem.
Try creating a directory in c:\users\YourUserName instead -- this is an issue with your java program lacking administrative privileges to write to c:\