Set the PATH environment variable
Operating systems use the environment variable called PATH to determine where executable files are stored on your system. Use the PATH environment variable to store the file path to your signing tools to ensure that the CLI can reference these signing tools.
Windows
You can configure the signing tools using the command line or environment variables.
To set the path to your signing tools via the command line:
set PATH=%path%;<path to signing tool folder>To set the path to your signing tools for your system or account:
- Search for environment variables in the Windows start menu.
- Select Edit environment variables for your account or Edit system environment variables.
- Double-click on the Path variable.
- Click New.
- Select Browse.
- Select the path to the signing tool.
- Click OK to save the path.
- Click OK to close the dialog box.
Linux
To set the path to your signing tools via the command line:
- Launch the Terminal application.
- Open the file in an editor:
nano ~/.profile - Add any export definitions you need:
export PATH=<Path to Jarsigner> - Click CTRL+X to exit.
- Click Y to save.
- Click Enter to keep the same file name.
- Execute the new .profile by restarting Terminal or using:
source ~/.profile