Skip to content

Commit dbd848e

Browse files
Add instructions to update the Eclipse Compiler (ECJ) in IntelliJ
1 parent d8a530a commit dbd848e

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

docs/modules/common/partials/InstallIntelliJ.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,17 @@ As soon as this is completed, press the `Restart IDE` button.
2121

2222
The same can also be achieved by navigating to `File | Settings | Plugins` in case you already have an existing IntelliJ project running.
2323

24+
[NOTE]
25+
====
26+
IntelliJ currently ships with an outdated version of the Eclipse Compiler for Java (ECJ), which does *not* support Java 21 or later. Scout 25.1 requires *Eclipse Compiler 3.40.0*.
27+
28+
To use ECJ 3.40.0 in IntelliJ:
29+
30+
* https://repo1.maven.org/maven2/org/eclipse/jdt/ecj/3.40.0/ecj-3.40.0.jar[Download ECJ 3.40.0]
31+
* In IntelliJ, go to:
32+
+
33+
`File | Settings | Build, Execution, Deployment | Compiler | Java Compiler`
34+
* Under *Eclipse Options*, set *Path to ECJ batch compiler tool* to the downloaded `ecj-3.40.0.jar` file.
35+
====
36+
2437
Congratulations! You have successfully set up IntelliJ IDEA for Scout development.

docs/modules/migration/partials/migration-guide-25.1.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,19 @@ Scout 25.1 requires at least the following:
9292
** Node: >= 22.13.0
9393
** Pnpm: >= 9.15.4
9494

95+
[NOTE]
96+
====
97+
IntelliJ currently ships with an outdated version of the Eclipse Compiler for Java (ECJ), which does *not* support Java 21 or later. Scout 25.1 requires *Eclipse Compiler 3.40.0*.
98+
99+
To use ECJ 3.40.0 in IntelliJ:
100+
101+
* https://repo1.maven.org/maven2/org/eclipse/jdt/ecj/3.40.0/ecj-3.40.0.jar[Download ECJ 3.40.0]
102+
* In IntelliJ, go to:
103+
+
104+
`File | Settings | Build, Execution, Deployment | Compiler | Java Compiler`
105+
* Under *Eclipse Options*, set *Path to ECJ batch compiler tool* to the downloaded `ecj-3.40.0.jar` file.
106+
====
107+
95108
=== Pnpm Settings Changes
96109

97110
Pnpm 9 changed the default of `link-workspace-packages` from true to false, see

0 commit comments

Comments
 (0)