Keytool in Kali Linux for Windows [closed]

  java, kali-linux, keytool, metasploit, windows

Keytool in Kali Linux for Windows [closed]

I am currently running the kali linux app downloaed on Windows 10.

I am trying to use Keytool and I have located the keytool in my JDK directory.

I run the application using ./keytool.exe and get a result with possible commands (help list).

However when I try using the keytool command. I get the following:

/mnt/c/Program FIles/Java/jdk1.8.0_241/jre/bin# keytool -certreq
bash: keytool: command not found

How do I use keytool for kali linux for windows?

Source: StackOverflow