Chapter 2. Installing the MTR plugin
You can install the MTR plugin in a connected or a restricted network environment.
2.1. Installing in a connected environment Copy linkLink copied to clipboard!
You can install the MTR plugin in a connected environment.
The MTR plugin has been tested with the Eclipse IDE for Java Enterprise Developers 2022-03 and Red Hat CodeReady Studio 12.21.3.GA.
Prerequisites
Java Development Kit (JDK) installed. MTR supports the following JDKs:
- OpenJDK 11
- Oracle JDK 11
- 8 GB RAM
-
macOS installation: the value of
maxprocmust be2048or greater. - Red Hat CodeReady Studio or Eclipse IDE for Java Enterprise Developers 2022-03
- JBoss Tools, installed with the Eclipse Marketplace Client
- Mylyn SDK and frameworks, installed with Eclipse
Procedure
- Launch Eclipse or CodeReady Studio.
-
From the menu bar, select Help
Install New Software. - Next to the Work with field, click Add.
-
In the Name field, enter
MTR. -
In the Location field, enter
http://download.jboss.org/jbosstools/photon/stable/updates/mtr/and click OK. - Select all the JBoss Tools - MTR check boxes and click Next.
- Review the installation details and click Next.
- Accept the terms of the license agreement and click Finish.
- Restart Eclipse or CodeReady Studio.
2.2. Installing in a disconnected environment Copy linkLink copied to clipboard!
You can install the MTR plugin in a disconnected network environment.
The MTR plugin has been tested with the Eclipse IDE for Java Enterprise Developers 2022-03 and Red Hat CodeReady Studio 12.21.3.GA.
Prerequisites
Java Development Kit (JDK) installed. MTR supports the following JDKs:
- OpenJDK 11
- Oracle JDK 11
- 8 GB RAM
-
macOS installation: the value of
maxprocmust be2048or greater. - Red Hat CodeReady Studio or Eclipse IDE for Java Enterprise Developers 2022-03
- JBoss Tools, installed with the Eclipse Marketplace Client
- Mylyn SDK and frameworks, installed with Eclipse
- Connected workstation for all downloads
Procedure
-
On a computer with network access, navigate to the Migration Toolkit for Runtimes download site and download the
migrationtoolkit-mtr-eclipse-plugin-repositoryfile. - Launch Eclipse or CodeReady Studio.
-
From the menu bar, select Help
Install New Software. - Next to the Work with field, click Add.
-
In the Name field, enter
MTR. - Next to the Location field, click Archive.
-
Select the
migrationtoolkit-mtr-eclipse-plugin-repositoryfile and click OK. - Select all the JBoss Tools - MTR check boxes and click Next.
- Review the installation details and click Next.
- Accept the terms of the license agreement and click Finish.
- Restart Eclipse or CodeReady Studio.
2.3. Accessing the MTR tools Copy linkLink copied to clipboard!
You can access the MTR plugin tools in the MTR perspective.
Prerequisites
- You must restart the Eclipse IDE or Red Hat CodeReady Studio after installing the MTR plugin.
Procedure
-
Click Window
Perspective Open Perspective Other. Select MTR and click OK.
The following components are displayed:
- Issue Explorer displays the migration issues identified by the MTR plugin.
MTR Server is a separate process that analyzes projects, flags migration issues, and generates reports.
You can start, stop, and view the status of the MTR server in the Issue Explorer.
- Issue Details displays detailed information about a selected issue, including the hint, severity, and any additional resources.
MTR Report is an HTML report generated by the MTR plugin. From the report landing page you can navigate to detailed reports, such as Application Details, Issues, and Dependencies.
NoteThe report is not generated by default. You must select the Generate Report option in the run configuration.