School Loop admins with integrated Directory Services report that 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.
This is likely because the Java bin folder is not in your system's
To resolve this issue, either add Java to the
PATH variable or run the Keytool with a fully-qualified path.
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.
To add Java to your
- Go to Control Panel > System > Advanced System Settings > Environment Variables.
- Look for the
PATHvariable 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:
The Keytool utility creates the Keystore without any errors.