5

IntelliJ IDEA shows this message on every startup.

image

How can I correct this warning on IntelliJ IDEA?

Edit: I installed IntelliJ IDEA ultimate edition by yay on arch linux.

Jan Černý
  • 1,185
  • 2
  • 24
  • 46
  • 1
    I think you might want to post this one on a different space since this one is targeted for Linux stuff. For instance, how did you install IntelliJ IDEA? The `.tar.gz` wouldn't have that problem. You basically need to use the bundled `JRE` from IntelliJ IDEA, that's all. – x80486 Dec 11 '20 at 15:00
  • Thank you for commnet. I edited info to post. How can I switch to idea jre ? – Jan Černý Dec 14 '20 at 20:27
  • It's located in `${IDE_HOME}/jbr/`. You would need to set an environment variable `IDEA_JDK` to that location — but I'm almost sure that's the default behavior, so you might want to consider the way you "installed" IntelliJ IDEA. – x80486 Dec 14 '20 at 20:36

2 Answers2

3

On Arch Linux:

  • Install jdk-jetbrains from AUR.
  • put in ~/.bash_profile export IDEA_JDK=/usr/lib/jvm/jdk-jetbrains
EnigmaCurry
  • 146
  • 4
1

I can't comment yet, so I'll add to EnigmaCurry's answer here:

If the variable IDEA_JDK doesn't work, launch action search and select "Choose Boot Java Runtime for the IDE" to switch to the downloaded Java. The only weird thing is that the font settings are changed after this.

Zack Light
  • 49
  • 2