Java Create New File using Files.createFile() In this Java NIO tutorial we learn how to create a new file in Java application using the Files.createFile() method.