2. Prerequisites

Make sure to install the required software components listed in this section before installing JModelica.org.

2.1. Java

It is required to have a Java Runtime Environment (JRE) version 6 installed on your computer.

Install a JRE

  1. Get a 32-bit / 64-bit JRE installer suitable for your platform. For Windows users the 32-bit JRE must be installed, even for 64-bit computers.

  2. Run the installer and follow the instructions to install the JRE on your computer.

2.2. Python

Python 2.7 with the following additional packages are required.

Install Python 2.7

  1. Get a Python 2.7 installer suitable for your platform. Note that for Windows users the 32-bit version must be chosen, even for 64-bit computers.

  2. Install the additional Python packages listed in the tables below.

    Table 2.1. Required Python packages

    Package Recommended version Description
    NumPy 1.6.1 The fundamental package needed for scientific computing with Python.
    SciPy 0.9.0 A library of algorithms and mathematical tools for Python.
    matplotlib 1.0.1 A plotting library for Python, with a MATLAB like interface.
    IPython 0.11 An interactive shell for Python with additional shell syntax, code highlighting, tab completion, string completion, and rich history.


    IPython has extra dependencies on Windows, in this case these extra Python packages must be installed:

    Table 2.2. IPython dependencies on Windows

    Package Recommended version Description
    Pyreadline 1.7 A Python implmementation of GNU readline.
    setuptools 0.6c11 A package for downloading, building, installing, upgrading, and uninstalling Python packages.

    Please note that the recommended version of a package is not always the same as the latest version available. It is the package version that JModelica.org has been tested and verified to be working with.