Chapter 2. Installing the MTR extension for Visual Studio Code


You can install the MTR extension for Visual Studio Code (VS Code).

Prerequisites

The following are the prerequisites for the Migration Toolkit for Runtimes (MTR) installation:

  • Java Development Kit (JDK) is installed. MTR supports the following JDKs:

    • OpenJDK 11
    • OpenJDK 17
    • Oracle JDK 11
    • Oracle JDK 17
    • Eclipse Temurin™ JDK 11
    • Eclipse Temurin™ JDK 17
  • 8 GB RAM
  • macOS installation: the value of maxproc must be 2048 or greater.

Procedure

  1. Set the environmental variable JAVA_HOME:

    $ export JAVA_HOME=jdk11
  2. In VS Code, click the Extensions icon on the Activity bar to open the Extensions view.
  3. Enter Migration Toolkit for Runtimes in the Search field.
  4. Select the Migration Toolkit for Runtimes extension and click Install.

    The MTR extension icon ( MTR code extension ) is displayed on the Activity bar.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top