Overview
School Loop admins with integrated Directory Services report the following error when trying to create the Keystore using the Keytool command: Command not found.
This article shares multiple approaches and specific steps to resolve this issue.
Root Cause
This is likely because the Java bin folder is not in your system's PATH
variable.
Process
To resolve this issue, either add Java to the PATH
variable or run the Keytool with a fully-qualified path.
- To add Java to your
PATH
variable,
- Go to Control Panel > System > Advanced System Settings > Environment Variables.
- Look for the
PATH
variable under System Variables and highlight it. - Click Edit.
- In the Variable Value field, add a semicolon at the end of the values listed and the path to Java’s bin folder on your computer. For example:
C:\Program Files\Java\jre6\bin
- The Keytool utility is part of the Java Standard Edition (SE); if you only have the Java Runtime (JRE), you may need to download the SE. The keytool.exe utility is in the java SE's 'bin' folder.
Confirmation
The Keytool utility creates the Keystore without any errors.