.. _section-installing-the-package:

Installing the |rti_me_h| Packages
==================================

.. note:: 
   
   |me| 4.1.0 is distributed differently from earlier releases. Specifically, only the 
   platform source code is included instead of the full source. Refer
   to the :ref:`section-target-bundle` for more details.

|rti_me| is provided in the following RTI package files (``.rtipkg``): 

- ``rti_connext_dds_micro-<version>-host.rtipkg``
- ``rti_connext_dds_micro-<version>-target-<architecture>.rtipkg``

You must first install |rti_core_pro| 7.3.0 before installing |me| 4.1.0 
packages. To install the |me| packages:

1. Open the *RTI Launcher* for |core_pro| 7.3.0.
2. Navigate to the **Configuration** tab. 
3. Select **Install RTI Packages**.
4. In the popup window, click on the **+** icon and add both ``.rtipkg`` 
   files to the installation queue.
5. Select **Install**.

Once installed, you will find a directory called ``rti_connext_dds_micro-<version>`` 
in the |core_pro| installation directory.

.. note::
    
   A Java Runtime Environment (JRE) is needed to run the IDL compiler 
   *rtiddsgen* and the Micro Application Generator *rtiddsmag*. By default, 
   |me| will use the JRE that is already included in the *Connext Drive* 
   or |core_pro| installation where |me| is installed.
   
   If you prefer a different JRE, you must set the environment variable 
   ``JREHOME`` to the path of the specified JRE.

.. warning::

   If you plan to recompile the platform source code,
   RTI strongly recommends that you copy the |me| installation directory outside of the 
   |core_pro| installation. It may not be desirable to build |me| libraries inside the 
   |core_pro| directory due to patches, lack of write access, or other factors.