Hacker News new | ask | show | jobs
by jameshiew 1700 days ago
There is an action in IntelliJ - "Choose Boot Java Runtime for the IDE". I first downloaded the Corretto 15 JDK within IntelliJ itself as if I was going to use it as the SDK for a Java project, then it was available to me to select as a boot runtime in that action. Some more details here.[1]

The first runtime I tried was Corretto 17 which crashed on me, and I had to delete some `idea.jdk` file somewhere or other to get IntelliJ to start up again. That file seems to contain which JVM to use when starting IntelliJ, I use Toolbox as well (on Ubuntu).

[1]: https://www.jetbrains.com/help/idea/switching-boot-jdk.html

1 comments

Switching from the bundled JBR 11 to Corretto 15 launches fine in PyCharm, except the editor font is not what I'm used to with the regular JBR, so I will have to install that separately from the IDE, and hope it picks it up.

It does feel snappier though, judging by some of the window operations, which always feel rather spongy and slow, even after the JVM has had a chance to warm up.

JB should consider this change!

I agree, it looks like JB are working on upgrading the default runtime to Java 17, but I think generally they could encourage developers to try out different runtimes anyway and report bugs rather than warning so strongly against it. I understand the JB runtime made some improvements to UI stuff, certainly the font rendering is much better in it, but at least for my setup that's not a big issue compared to things like indexing time. It'd be interesting to see a comparison of using different runtimes for IntelliJ, with proper profiling and the like.
WOW. With Correto 15, I can zoom (control+mouse wheel) the text in the editor up and down immediately. With JBR 11 it takes about 10 goes to warm up the JVM. DataGrip is _greatly_ improved.
The difference is night-and-day. I am using the Azul Zing JVM 15 with PyCharm 2021.3 EAP and it's so much more like a native application than with the JBR JVM 11.

I have long felt that I have been working in molasses with my JetBrains tools up until this point. JetBrains need to come correct and update JBR to something modern, immediately.