Skip to content
Advertisement

Tag: directory

How to create a directory in Java?

How do I create Directory/folder? Once I have tested System.getProperty(“user.home”); I have to create a directory (directory name “new folder” ) if and only if new folder does not exist. Answer After ~7 year, I will update it to better approach which is suggested by Bozho.

Advertisement