WebStorm 2019.3 Help

Switch boot JDK

WebStorm includes JetBrains Runtime (based on OpenJDK 11), which is used by default. It is recommended to run WebStorm using JetBrains Runtime, which fixes various known OpenJDK and Oracle JDK bugs, and provides better performance and stability. However, in some cases you may be required to use another Java runtime or a specific version of JetBrains Runtime.

Switch the Java runtime used to run WebStorm

  1. Install the Choose Runtime plugin.

    In the Settings/Preferences dialog (Ctrl+Alt+S), select Plugins and search for the Choose Runtime plugin in the Marketplace.

    The Choose Runtime plugin in Marketplace
  2. Open the Choose Runtime dialog.

    On the Help menu, click Find Action, or press Ctrl+Shift+A, and search for Choose Runtime.

    The Choose Runtime dialog with default runtime selected

    When you open the Choose Runtime dialog for the first time, it may take a while to load the list of runtimes from the server. The list contains available local Java runtimes that WebStorm was able to detect and remote JetBrains Runtime builds on BinTray. The runtime currently used to bootstrap the IDE is written in bold.

  3. Select the desired runtime and click Install.

    WebStorm restarts with the new runtime.

If it's a remote runtime, it is also downloaded to your computer. You can download a remote runtime without installing it using the arrow next to the Install button. If you want to remove previously downloaded runtimes, use the Clean Up button. The currently used boot runtime is not deleted in this case.

If you want to use a local Java runtime that was not detected automatically, click The Browse button and specify the location of the desired Java home directory.

If you want to reset to the default runtime that the IDE initially used, click Use Default.

The path to the selected runtime is stored in the webstorm.jdk file in the WebStorm configuration directory. To revert to the default JetBrains Runtime, you can delete this file, or modify the path to point to another Java runtime.

You can also override the runtime used for WebStorm by adding the WEBIDE_JDK/WEBIDE_JDK_64 environment variable with the path to the desired JDK home directory.

Last modified: 24 November 2019