This script performs command line installation of Model RealTime.
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 installed. If the second parameter is not specified, then default path to installation will be used.
For example,
installProduct.sh hcl-model-realtime-12.1.0-v20240719_1257_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
# Set the JAVA17_BIN variable to the path of the Java 17 binary from the RT_JAVA17_BIN environment variable
JAVA17_BIN=$RT_JAVA17_BIN
# Set the JAVA21_BIN variable to the path of the Java 21 binary from the RT_JAVA21_BIN environment variable
JAVA21_BIN=$RT_JAVA21_BIN
# Set START_AFTER_INSTALL to some value if the product should be started immediately after installation
START_AFTER_INSTALL=$RT_START_AFTER_INSTALL
# 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