No you cant in standard Java. And you shouldnt be writing software that needs iteither. You can make some assumptions based on write of a certain directory.This could leave you with network drives that do not have write permissionthough.