java.lang.IllegalStateException: could not delete main.pdf
at textools.tasks.FileSystemTasks.deleteFile(FileSystemTasks.java:36)
at textools.commands.Clean.execute(Clean.java:51)
at textools.Main.main(Main.java:37)
Caused by: java.nio.file.FileSystemException: .\.\main.pdf: Der Prozess kann nicht
auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird.
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
at java.nio.file.Files.delete(Files.java:1123)
at textools.tasks.FileSystemTasks.deleteFile(FileSystemTasks.java:34)
... 2 more