Environment variables not updated after IntelliJ update

Answered

I have installed IntelliJ via the Toolbox App. The path of the IntelliJ installation directory contains its version (i.e. C:\Users\<user>\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\183.5153.38\). Each time IntelliJ is updated to a new version, this path changes. However, the environment variable IDEA_JDK_64, which points to this path, is left unchanged. This results in the error which you can find in the attachment. Is there a way to solve this issue?

0
5 comments

Don't set IDEA_JDK_64 environment variable. Why do you need it?

1
Avatar
Permanently deleted user

Because this page says so.

'JDK (JetBrains Runtime) is bundled with all the product installers and it's recommended that you will use the provided JDK version unless there are any specific issues.'

https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under 

0

This page describes how to switch to a different JDK version rather than use the default bundled JetBrains Runtime. If you don't set any environment variables, IntelliJ IDEA will use the bundled JetBrains Runtime by default.

1
Avatar
Permanently deleted user

My goal is to use the default JetBrains Runtime. How do I unset this environment variable. Should I delete it?

0

Yes, just delete it.

1

Please sign in to leave a comment.