Optim Utility scripts
Optim 11.7 provides the Optim Utility scripts, optimutil.sh and optimsetenv.sh for AIX and Linux and optimutil.cmd and optimsetenv.bat for Windows, which allows the user to perform a console install of Optim 11.7, a silent install of Optim 11.7, or update the Java location used by Optim.
The syntax of the Optim Utility scripts is shown in the figure below.
- For AIX/Linux use:
optimutil.sh - For Windows use:
optimutil.cmd
JRE and JVM
Old JRE and JVM
Silent mode
Advanced parameters
- Script parameters
- --adm
-
- 1 - run as administrator
- 0 - run as user.
- --roo
- Optim root directory. Surround the directory value with double quotes if it contains embedded spaces.
- Commands
- --help
- Display this help then exit.
- --install
- Install an Optim component in silent mode.
- --console
- Start the IIM in console mode to install Optim.
- --java
- Update the JRE_HOME and JVM_PATH used by Optim.
- --status
- Display the status of installed components then exit
- Optim component for the --java and --install commands
- --com
- Set to designer, runtime or web.
- --jre
- Value for JRE_HOME. Surround value with double quotes if it contains embedded spaces.
- --jvm
- Value for JVM_PATH to jvm.dll. Surround path with double quotes if it contains embedded spaces.
- Additional parameters for the --java command
- --oje
- Old value for JRE_HOME. No embedded spaces permitted if passed as a parameter.
- -ojm
- Old value for JVM_PATH to jvm.dll. No embedded spaces permitted if passed as a parameter.
- Additional parameters for the --install command
- --del
-
- 0 - uninstall then install
- 1 - uninstall only.
- --kee
-
- 0 - do not keep the downloaded artifact
- 1 - keep the downloaded artifact.
- --qua
- Set to 'local', 'remote' or a fully qualified timestamp. Where the qualifier is a fully qualified timestamp set to YYYYMMDD_HHSS for a tar.gz file; local for a local repository or remote to download the last created tar.gz file (internal use only).
- --unv
- Uninstall version. The four position major version with three decimal points. For example, 11.3.0.0
- --upd
-
- 0 - uninstall then install
- 1 - update only.
- --use
-
- 0 - use a new repository
- 1 - use the existing repository.
- --ver
- The four position version with no decimal points. For example, 11700
- Advanced parameters for the --install command
- --dow
-
- 0 - do not download the installer from a local network drive
- 1 - download the installer from a local network drive.
- --url
- URL of the local network drive.
Note: Refer to the companion ReadMe.txt file for
instructions.