Changing the JDK in IntelliJ UI does not affect its Intellij terminal:
When changing the JDK, we need to remember that this only affects the JDK used by IntelliJ. Therefore, when running the Java project via the command line, it'll still use the JDK specified in the JAVA_HOME environment variable
So when running java on Intellij terminal, you still have to set JAVA_HOME to change java version
Set up IntelliJ to target Java 25 or newer so it uses IO. instead of the old-school System.out. and System.in. — gotta keep things modern and efficient.
How do I auto update java version and plugins?
Tell intellij which java version to use for JUnit testing
Maybe TIL in intellij, how to configure jvm version in different project
Videos
Java 25 just introduced this slick new IO class for way simpler console access — with print, println, and readln built right in. But in my Java 25 projects, IntelliJ IDEA 2025.3 EAP keeps pushing me to use the old System.out and System.in.
Is there a way to get IntelliJ to stop being stuck in the past and start generating code with IO instead?
How to update these and also plugins automatically on launch?
Maybe Today I Learn in intellij how to change the jvm by project. Indeed this Ox project I wanted to try seems to need jvm 21 so I needed to switch and it generate some kind of instability in my "workflow".
When configuring the jvm in File > Project Structure > Project > SDK and the other emplacement for it are all in "default mode" (e.g : Setting > Build, Execution, Deployment > Compiler > Scala Compiler > Scala Compile Server > JDK, setting > Build, Execution, Deployment>build tools> sbt) it will be save in the .idea folder so the switch between project is now becoming easier
EDIT : the coursera course on this subject : https://www.coursera.org/projects/configure-scala-intellij