Run IntelliJ 2021 under new macOS Rendering Pipeline, Metal rather than OpenGL
Answered
Java 17 brings this new feature for Mac users: JEP 382: New macOS Rendering Pipeline. By using Apple Metal technology rather than OpenGL, performance may be improved and future compatibility ensured.
Is there a way to make IntelliJ 2021 run itself on Java 17 with this new feature enabled? The new feature is not enabled by default. We must pass the command-line argument:
-Dsun.java2d.metal=true
I understand that I might be running IntelliJ outside the bounds of what JetBrains has tested and recommended. If the process of switching to Java 17 and Metal can be reversed, I would like to try using IntelliJ under Metal, out of curiosity.
Please sign in to leave a comment.
Hello, please see the following manual: https://www.jetbrains.com/help/idea/switching-boot-jdk.html, it would probably answer you question.
Changing the Runtime may cause unexpected problems, we haven't tested the behaviour with the described JDK and do not recommend to change the default one.
Thank you
Actually in the JEP it’s stated that IntelliJ IDEA is used for testing of this very JEP, so it’s worth giving a try, at least I’ll try it.