Keytool.exe fails with “This app can’t run on your PC”
search cancel

Keytool.exe fails with “This app can’t run on your PC”

book

Article ID: 428592

calendar_today

Updated On:

Products

Data Loss Prevention

Issue/Introduction

When running keytool.exe on Windows, the following error is displayed "This app can’t run on your PC. To find a version for your PC, check with the software publisher"
The keytool command does not execute, even though the syntax is correct.

Environment

Windows OS (64-bit)
AdoptOpenJDK

 

Cause

The keytool.exe file is corrupted and has a size of 0 KB due to an incomplete or interrupted Java installation or extraction. 

Resolution

Reinstall Java using a supported 64-bit JDK to replace the corrupted keytool

Additional Information

https://knowledge.broadcom.com/external/article/207478/how-to-upgrade-jre-java-runtime-environm.html