Install Product

This script performs command line installation of Model RealTime.

installProduct.sh

Usage:

installProduct.sh <Path_to_zip_file_with_product_installation> [ <Installation_location> ]

First parameter is the path to _product.zip file with installation. Second parameter is optional, there you can explicitly specify the path to the folder into which the product will be istalled. If the second parameter is not specified, then default path to installation will be used.

For example,

installProduct.sh $HOME/Downloads/rtist-11.3-2023.04_v20230127_0039_product.zip

The same script can be used on both, Windows and Linux. On Windows machine this script should be executed from Git Bash

There are some settings that can be configured before running the script. Configuration can be skipped, in that case default paths will be used and missing Java and Eclipse packages will be downloaded from web.

These are all environment variables that can be configured:

Alternatively, similar settings can be updated on the top of the script file:

# Full path to folder with downloads for eclipse and product zips
DOWNLOADS=$RT_DOWNLOADS

# Full path to top folder with installation
INSTALL_BASE=$RT_INSTALL_BASE

# Full path pattern to installation location
INSTALL=$RT_INSTALL

# Full path to Java 8 binary (optional, if Java 8 is not needed)
# for example,
# /c/_Install/OpenJDK/jdk-8.0.272.10-hotspot/jre/bin
# /usr/lib/jvm/jre-1.8.0-openjdk/bin
JAVA8_BIN=$RT_JAVA8_BIN

# Full path to Java 11 binary (optional, if Java 11 is not needed)
# for example,
# /c/_Install/OpenJDK/jdk-11.0.9.1-hotspot/bin
# /usr/lib/jvm/jre-11-openjdk/bin
JAVA11_BIN=$RT_JAVA11_BIN

# Set START_AFTER_INSTALL to some value if the product should be started immediately after installation
START_AFTER_INSTALL=$RT_START_AFTER_INSTALL

# Java version to be used for running the 11.1 version of the tool
# 'Java 8' or 'Java 11'
# Used only for starting the tool from this script immediately after installation
# If START_AFTER_INSTALL is not set, JAVA_FOR_11_1 is not used and can be ignored
JAVA_FOR_11_1=$RT_JAVA_FOR_11_1

# Full path to the folder where workspace for running the tool after installation will be created
# If START_AFTER_INSTALL is not set, RT_TEST is not used and can be ignored
TESTS=$RT_TEST