code: public static void makehome(String home) throws Exception {
  		File homedir = new File(home);
  		if (!homedir.exists()) {
  			try {
  				homedir.mkdirs();
  			} catch (Exception ex) {
  				throw new Exception("Can not mkdir :" + home + " Maybe include special charactor!");
  			}
  		}
  	}
docs: create a directory
  
  @param home
  @throws Exception