2. Binary distribution

Pre-built binary distributions for Windows are available in the Download section of www.jmodelica.org.

2.1. Linux

Currently, no pre-built binary distributions are provided for Linux.

2.2. Mac OS X

Currently, no pre-built binary distributions are provided for Mac OS X.

2.3. Windows

The JModelica.org Windows installer contains a binary distribution of JModelica.org built using the JModelica.org-SDK, bundled with required third-party software components. The JModelica.org Windows installer sets up a pre-configured complete environment with convenient start menu shortcuts.

2.3.1. Prerequisites

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

2.3.1.1. Java

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

To install JRE

  1. Get a JRE installer suitable for your platform here.

  2. Run the installer.

2.3.1.2. Python

Python 2.6 with the following additional packages are required:

NumPy

The fundamental package needed for scientific computing with Python.

SciPy

A library of algorithms and mathematical tools for Python.

matplotlib

A plotting library for Python, with a MATLAB like interface.

PyReadline

A readline for Windows required by IPython.

IPython

An interactive shell for Python with additional shell syntax, code highlighting, tab completion, string completion, and rich history.

There are two options to install the necessary Python components, as described below.

Separate installation of Python prerequisites for Windows binary installer

  1. Download and install Python 2.6.

  2. Download and install the additional packages (be sure to select a version for Python 2.6 when applicable):

    Table 2.1. Python prerequisities

    PackageRecommended version
    NumPy1.3.0
    SciPy0.7.1
    matplotlib0.99.1.1
    PyReadline1.5
    IPython0.10

Python(x,y) installation of Python prerequisites for Windows binary installer

Python(x,y) is a scientific-oriented Python distribution that includes all necessary dependencies (and a lot more!).

  1. Download a Python(x,y) installer for Python 2.6.

  2. Run the installer and select a full installation (or select the required packages manually for a smaller footprint).

2.3.2. Windows installer

To install JModelica.org from Windows installer

Make sure that all prerequisite components are installed before continuing.

  1. Download a JModelica.org Windows binary installer.

  2. Run the installer and follow the wizard.

    • Choose to install the additional Python packages when prompted, unless the are already installed.