Questo contenuto non è disponibile nella lingua selezionata.

Chapter 2. Installing and configuring the MTR plugin


You can install the MTR plugin and configure it to use the MTR CLI for analysis execution.

2.1. Installing in a connected environment

You need a connected environment to install the MTR plugin.

The MTR plugin has been tested with the Eclipse IDE for Java Enterprise Developers 2023-03.

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.
Note

Eclipse is pre-configured for Java 17, and the plugin operates directly with Java 17.

You can also run the plugin with Java 11, which requires setting the JRE version to Java 11 when creating up a new Eclipse project or importing an existing one. See step 6 below.

Procedure

  1. Launch Eclipse.
  2. From the menu bar, select Help Install New Software.
  3. Next to the Work with field, click Add.
  4. In the Name field, enter MTR.
  5. In the Location field, enter https://marketplace.eclipse.org/content/migration-toolkit-runtimes-mtr and click OK.
  6. Select the Java version to use.

    • If using Java 11, in the JRE list, select JavaSE 11.
    • If using Java 17, leave the JRE selection unchanged.
  1. Select all the JBoss Tools - MTR check boxes and click Next.
  2. Review the installation details and click Next.
  3. Accept the terms of the license agreement and click Finish.
  4. Restart Eclipse.

2.2. Configuring the MTR plugin to use the MTR CLI for analysis execution

You can configure the MTR plugin to use the MTR CLI for analysis execution.

Prerequisites

  • You have downloaded the MTR CLI from the Developers Website or Customer Portal and installed it locally.

Procedure

  1. Click the Configure MTR icon to open the configuration settings.
  2. Populate the CLI field with the path to the parent directory of the CLI.
  3. Click Apply.
Red Hat logoGithubRedditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita ilBlog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

© 2024 Red Hat, Inc.