Skip to content

Commit 1ef6413

Browse files
authored
Add instruction for Intellij JVM version (#1773)
1 parent ef49537 commit 1ef6413

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

DEV.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ Build native packagers:
8686
The Scala CLI repository should work when imported automatically from Mill to IDEA IntelliJ and Metals.
8787
Please raise an issue if you run into any problems.
8888

89+
When working with IntelliJ make sure that the project's Java is set correctly.
90+
To confirm, check under `File -> Project Structure` that:
91+
- in `Project Settings/Project` `SDK` and `Language level` is set to **17**
92+
- in `Project Settings/Modules` all the modules have `Language level` set to **17**
93+
- in `Platform Settings/SDKs` only **Java 17** is visible
94+
95+
Otherwise, some IDE features may not work correctly, i.e. the debugger might crash upon connection.
96+
8997
#### Generate a native launcher
9098

9199
```bash

0 commit comments

Comments
 (0)