diff options
author | Linnea Gräf <nea@nea.moe> | 2024-10-05 21:31:14 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-10-05 21:31:14 +0200 |
commit | 1857a002b9a687f60bacd286c36ef405f671669a (patch) | |
tree | 3bd64624a0c980166bc9cc55bebe9884379bc740 /docs | |
parent | 82eabe9fa712c4315b6b4a3349b24fa25c7f7f79 (diff) | |
download | moddevwiki-1857a002b9a687f60bacd286c36ef405f671669a.tar.gz moddevwiki-1857a002b9a687f60bacd286c36ef405f671669a.tar.bz2 moddevwiki-1857a002b9a687f60bacd286c36ef405f671669a.zip |
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ide-setup.md | 4 |
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). |