A
JAR file is a
.zip file with classes and Manifest in it. To control the execution of
JAR files using the scripts list, add their extensions to the scripts list using the "
sadmin scripts add" command (the configuration change can be run manually via the CLI or via a
SC: Run command ePO client task.
NOTE: Reference the ACC Product Guide regarding "Configure interpreters" for more details about this command.
Example:
If you have WinZip as the archive tool in your environment, you need to add the following rules:
sadmin scripts add extension interpreter1 [interpreter2]...
On ePO:
- Create an SC: Run command using the following commands:
scripts add .zip “java.exe” “javaw.exe”
scripts add .7z “java.exe” “javaw.exe”
- Send the task to the client.
On the client:
- Open an Administrator Command prompt.
- Recover the local Command-Line Interface (CLI) by executing sadmin recover. A password is needed to unlock the local CLI.
- Run the following commands:
sadmin scripts add .zip “java.exe” “javaw.exe”
sadmin scripts add .7z “java.exe” “javaw.exe”
Similarly, if you have more
zipping tools and extensions in your environment, add them all to the script list to control the execution of the
JAR files.