Setting PATH Environment Variables
Operating systems use the environment variable PATH to locate executable files. Set the PATH environment variable to include the path to Jsign to ensure that the CLI can reference it.
Windows
- To set the path to your signing tools via the command line, run:
set PATH=%path%;<path to signing tool folder>Example:set PATH=%path%;C:\path\to\Jsign - 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."
- Choose the path to the signing tool.
- Click "OK" to save the path.
- Click "OK" again to close the dialog.
Linux
- To set the path to your signing tools via the command line, open the
Terminal application and edit the ~/.profile file:
nano ~/.profile - Add the export definition for the PATH:
export PATH=<Path to Jsign>Example:export PATH=/path/to/Jsign - Save and exit the editor (CTRL+X, Y, Enter).
- Execute the new .profile by restarting the terminal or using:
source ~/.profile