aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/ide-setup.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ide-setup.md b/docs/ide-setup.md
index 43707d1..2ac12ac 100644
--- a/docs/ide-setup.md
+++ b/docs/ide-setup.md
@@ -66,8 +66,8 @@ This error indicates that your Java Version does not support architectury. Fix t
This error indicates that your Java version is too new. Fix this by setting your gradle JDK to use exactly java version 17, not something newer like Java 21.
+### Error: Could not find or load main class `@C:\Some\Long\Path\1283814818228418813-argFile`
-
-
+This error (with the `@` at the beginning of the missing main class and then some random path) happens when IntelliJ (or another IDE) tries to use Java 9+ exclusive argument shorting. In Java 9 and later you can use `@<somePath>` to add arguments from a file. In Java 8 this will lead to errors, so you need to disable argfile shortening in your run configuration ("Shorten command line: none" in IntelliJ).