There's a merged pull request on the void-packages repository intellij-idea-community-edition: use jetbrains jdk https://github.com/void-linux/void-packages/pull/39683 Description: Trying to run intellij with an openjdk will error on startup complaining about missing AWT modules which aren't in that distribution. Instead of depending on any java environment via the `java-environment` virtual package, depend explicitly on the jetbrains jdk and modify the desktop entry to launch intellij with that jdk. With these changes, intellij is only launched with the jetbrains jdk by default when you use the desktop entry. You can still launch it using any java environment when using the executable directly by setting the `IDEA_JDK` variable on the command line. #### Testing the changes - I tested the changes in this PR: **YES**