Whenever I try to generate a JavaDoc in Intellij (Tools -> Generate JavaDoc), leave the settings on default (output directory is my documents folder) I get the following error:

```
/home/John/apps/java/bin/javadoc -protected -splitindex -d /home/John/Dokumente @/tmp/javadoc_args
javadoc: error - invalid flag: --source-path
Usage: javadoc [options] [packagenames] [sourcefiles] [@files]
[...]
"javadoc" finished with exit code 1

```

My JavaDoc Code:

```
/**
 * @author John
 *
 * Dialog for test.java in Administration -> Anwendung
 * Set affected timespan, employee and testflag.
 * Confirm via Buttonpress
 *
 */

```