I’m working on a simple Java project using IntelliJ Community Edition, I creating simple project with build system Intellij and I’ve encountered a problem with updating the output in the terminal. Initially, when I add a System.out.println() statement to my main class, the output is correctly displayed in the terminal. However, subsequent additions of multiple System.out.println() statements do not update the terminal; it still shows the old content. Each time, I need to rebuild the project to see any new changes, which is quite cumbersome.
This issue occurs both on Windows and on WSL. I have Java 17 installed on WSL and Java 21 on Windows. In the project structure, the SDK is correctly configured.
Interestingly, when I open the same project in IntelliJ Ultimate Edition, everything works as expected, and the terminal reflects changes immediately.
Is there something I might be doing wrong, or is there a specific configuration or setting in IntelliJ Community Edition that I need to adjust? I’m relatively new to Java and would appreciate any guidance on this matter.